summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2026-06-28 15:04:13 +0200
committeruser@node5.net <user@node5.net>2026-06-28 15:04:13 +0200
commitfe67bb8dc77935071c4533d5328093630eb4491f (patch)
tree8ce4d8298db652ca8b03e8fbd26e30132e75610b /flake.nix
parent7776481c67b3b8e0580707ca8fcb15c4bfdbcb02 (diff)
flake - package sub programs aswell
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b9933b9..bf93cc2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,11 +39,26 @@
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/
'';
});
in
{
packages.x86_64-linux.default = pkg;
+ apps.x86_64-linux = {
+ node5_text-tv_bornhack = {
+ type = "app";
+ program = "${pkg}/bin/node5_text-tv_bornhack";
+ };
+ node5_text-tv_bornhack_pixel-flut-program = {
+ type = "app";
+ program = "${pkg}/bin/node5_text-tv_bornhack_pixel-flut-program";
+ };
+ node5_text-tv_bornhack_fetch_program = {
+ type = "app";
+ program = "${pkg}/bin/fetch_program.sh";
+ };
+ };
pythonPath = "${python.pkgs.makePythonPath attrs.dependencies}:${pkg}/${python.sitePackages}";
};
}