From fe67bb8dc77935071c4533d5328093630eb4491f Mon Sep 17 00:00:00 2001 From: "user@node5.net" Date: Sun, 28 Jun 2026 15:04:13 +0200 Subject: flake - package sub programs aswell --- flake.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'flake.nix') 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}"; }; } -- cgit v1.3.1