summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-08-06 09:36:55 +0200
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-08-06 09:36:55 +0200
commitc3b1a8178b8efd669e2951d293f449958f6a56ad (patch)
tree79fa5d83142275884a3bc4fd7ff9d391764671ae
parent3b490c653c7912013084ae47f3b56a0ee0fecd51 (diff)
downloadnixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar.gz
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar.bz2
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar.lz
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar.xz
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.tar.zst
nixlib-c3b1a8178b8efd669e2951d293f449958f6a56ad.zip
duply: explicitly use python2
-rw-r--r--pkgs/tools/backup/duply/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/backup/duply/default.nix b/pkgs/tools/backup/duply/default.nix
index e8d3a2e185ee..cc4785740a4e 100644
--- a/pkgs/tools/backup/duply/default.nix
+++ b/pkgs/tools/backup/duply/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, coreutils, python, duplicity, gawk, gnupg1, bash
+{ stdenv, fetchurl, coreutils, python2, duplicity, gawk, gnupg1, bash
 , gnugrep, txt2man, makeWrapper, which
 }:
 
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
     mkdir -p "$out/share/man/man1"
     install -vD duply "$out/bin"
     wrapProgram "$out/bin/duply" --set PATH \
-        ${stdenv.lib.makeBinPath [ coreutils python duplicity gawk gnupg1 bash gnugrep txt2man which ]}
+        ${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg1 bash gnugrep txt2man which ]}
     "$out/bin/duply" txt2man > "$out/share/man/man1/duply.1"
   '';