summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index bf93cc2..3eae993 100644
--- a/flake.nix
+++ b/flake.nix
@@ -31,7 +31,7 @@
description = "Bornhack schedule web displayer with a teletext theme";
homepage = "https://text-tv.bornhack.node5.net/";
changelog = "https://git.node5.net/misc/text-tv.bornhack.node5.net/log/";
- mainProgram = "node5_text-tv_bornhack";
+ mainProgram = "node5-text-tv";
};
propagatedBuildInputs = (attrs.propagatedBuildInputs or []) ++ [ pkgs.git ]; # Make git binary available
postInstall = ''
@@ -39,22 +39,22 @@
echo $out
cp -r $src/src/static/ $out/${python.sitePackages}
cp -r $src/src/templates/ $out/${python.sitePackages}
- cp $src/fetch_program.sh $out/bin/
+ cp $src/fetch_program.sh $out/bin/node5-text-tv-fetch
'';
});
in
{
packages.x86_64-linux.default = pkg;
apps.x86_64-linux = {
- node5_text-tv_bornhack = {
+ node5-text-tv = {
type = "app";
- program = "${pkg}/bin/node5_text-tv_bornhack";
+ program = "${pkg}/bin/node5-text-tv";
};
- node5_text-tv_bornhack_pixel-flut-program = {
+ node5-text-tv-program = {
type = "app";
- program = "${pkg}/bin/node5_text-tv_bornhack_pixel-flut-program";
+ program = "${pkg}/bin/node5-text-tv-program";
};
- node5_text-tv_bornhack_fetch_program = {
+ node5-text-tv-fetch = {
type = "app";
program = "${pkg}/bin/fetch_program.sh";
};