diff options
| -rw-r--r-- | flake.nix | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -33,13 +33,23 @@ changelog = "https://git.node5.net/misc/text-tv.bornhack.node5.net/log/"; mainProgram = "node5-text-tv"; }; - propagatedBuildInputs = (attrs.propagatedBuildInputs or []) ++ [ pkgs.git ]; # Make git binary available + postInstall = '' echo $src 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/node5-text-tv-fetch + + # Make necessary programs available to the scripts PATH + wrapProgram "$out/bin/node5-text-tv-fetch" \ + --prefix PATH : ${lib.makeBinPath [ + pkgs.coreutils + pkgs.curl + pkgs.jq + pkgs.xq + pkgs.diffutils + ]} ''; }); in |
