Skip to content

Commit

Permalink
Merge pull request #45 from hraban/fix/git-path
Browse files Browse the repository at this point in the history
fix: bake git into PATH at runtime
  • Loading branch information
seppeljordan committed Dec 16, 2022
2 parents 7bce85e + 0618312 commit 067dd7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nix/nix-prefetch-github.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ in buildPythonPackage {
outputs = [ "out" "doc" "man" ];
src = ../.;
nativeBuildInputs = [ sphinxHook sphinx-argparse ];
postInstall = ''
for f in $out/bin/* ; do
wrapProgram "$f" --suffix PATH : "${git}/bin"
done
'';
checkInputs = [ git which pytestCheckHook ];
sphinxBuilders = [ "singlehtml" "man" ];
sphinxRoot = "docs";
Expand Down

0 comments on commit 067dd7a

Please sign in to comment.