mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
bup: add ${git} to the $PATH of the wrapper
Otherwise, bup tries to run git from the user's PATH, which may or may not exist. Closes #15691
This commit is contained in:
parent
89aab4f351
commit
d7749f27f3
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
|
|||
"LIBDIR=$(out)/lib/bup"
|
||||
];
|
||||
|
||||
postInstall = optionalString (elem stdenv.system platforms.linux) ''
|
||||
wrapProgram $out/bin/bup --prefix PYTHONPATH : \
|
||||
postInstall = ''wrapProgram $out/bin/bup --prefix PATH : ${git}/bin ''
|
||||
+ optionalString (elem stdenv.system platforms.linux) '' --prefix PYTHONPATH : \
|
||||
${stdenv.lib.concatStringsSep ":"
|
||||
(map (path: "$(toPythonPath ${path})") [ pyxattr pylibacl setuptools fuse ])}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue