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:
Guillaume Girol 2022-11-04 12:00:00 +00:00
parent a2a777538d
commit a3a77b48e1

View File

@ -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"
'';