diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-07 23:03:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:55 +0200 |
commit | 0a15a68cf30ccf0adfc8f19fe61c78e6313ea003 (patch) | |
tree | fdd649cbb8329f93240c9dbec690b6d2329c6959 /pkgs/duply | |
parent | 8b7b8ced5ab18857ab7cfd8dab7c78f7d4095323 (diff) | |
download | NUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.tar.gz NUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.tar.zst NUR-0a15a68cf30ccf0adfc8f19fe61c78e6313ea003.zip |
Fix tools after upgrade
Diffstat (limited to 'pkgs/duply')
-rw-r--r-- | pkgs/duply/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/duply/default.nix b/pkgs/duply/default.nix index 3816996c..2d24d4fa 100644 --- a/pkgs/duply/default.nix +++ b/pkgs/duply/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { stdenv, fetchurl, makeWrapper, coreutils, python2, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: | 1 | { stdenv, fetchurl, makeWrapper, coreutils, python3, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: |
2 | stdenv.mkDerivation rec { | 2 | stdenv.mkDerivation rec { |
3 | name = "duply-${version}"; | 3 | name = "duply-${version}"; |
4 | version = "2.1"; | 4 | version = "2.1"; |
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec { | |||
17 | mkdir -p "$out/share/man/man1" | 17 | mkdir -p "$out/share/man/man1" |
18 | install -vD duply "$out/bin" | 18 | install -vD duply "$out/bin" |
19 | sed -i $out/bin/duply -e "1a \ | 19 | sed -i $out/bin/duply -e "1a \ |
20 | export PATH='${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' | 20 | export PATH='${stdenv.lib.makeBinPath [ coreutils python3 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' |
21 | " -e "1a \ | 21 | " -e "1a \ |
22 | export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*) | 22 | export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*) |
23 | " | 23 | " |