diff options
| author | user@node5.net <user@node5.net> | 2026-07-09 21:11:22 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-07-10 13:15:02 +0200 |
| commit | 8fcb767b5d7255d9c7185d7a7cc8d97f6831fca8 (patch) | |
| tree | 012176ce1e11623ccc04e1749dc6a92f04caa77f | |
| parent | 1b0227ef6369dbcc565fc50eafd7b7bad50c7547 (diff) | |
flake - make binaries available to fetch scripts path
| -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 |
