Skip to content

Commit fe9a337

Browse files
committed
Point 'nix run' to bin/wstsound-play
1 parent f1d641a commit fe9a337

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

flake.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
tinycmmc, libmodplug-win32, libogg-win32, libvorbis-win32,
4646
mpg123-win32, openal-soft-win32, opusfile-win32, opus-win32 }:
4747
tinycmmc.lib.eachSystemWithPkgs (pkgs:
48-
{
48+
rec {
4949
packages = rec {
5050
default = wstsound;
5151

@@ -85,6 +85,15 @@
8585
else null;
8686
};
8787
};
88+
89+
apps = rec {
90+
default = wstsound-play;
91+
92+
wstsound-play = {
93+
type = "app";
94+
program = "${packages.wstsound}/bin/wstsound-play";
95+
};
96+
};
8897
}
8998
);
9099
}

0 commit comments

Comments
 (0)