mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
duply: fix ftp usage
for ftp, duply depends on ltfp on PATH, which is not possible if the wrapper resets PATH.
This commit is contained in:
parent
a2a777538d
commit
a3a77b48e1
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
mkdir -p "$out/bin"
|
||||
mkdir -p "$out/share/man/man1"
|
||||
install -vD duply "$out/bin"
|
||||
wrapProgram "$out/bin/duply" --set PATH \
|
||||
wrapProgram "$out/bin/duply" --prefix PATH : \
|
||||
${lib.makeBinPath [ coreutils python3 duplicity gawk gnupg bash gnugrep txt2man which ]}
|
||||
"$out/bin/duply" txt2man > "$out/share/man/man1/duply.1"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue