From a3a77b48e1bef39e00a6f3172fce512ce30e3331 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Fri, 4 Nov 2022 12:00:00 +0000 Subject: [PATCH] duply: fix ftp usage for ftp, duply depends on ltfp on PATH, which is not possible if the wrapper resets PATH. --- pkgs/tools/backup/duply/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/backup/duply/default.nix b/pkgs/tools/backup/duply/default.nix index 1db9ef848fa2..66c31ddd0e16 100644 --- a/pkgs/tools/backup/duply/default.nix +++ b/pkgs/tools/backup/duply/default.nix @@ -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" '';