From 0a15a68cf30ccf0adfc8f19fe61c78e6313ea003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 7 Apr 2020 23:03:54 +0200 Subject: Fix tools after upgrade --- pkgs/duply/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/duply/default.nix') 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 @@ -{ stdenv, fetchurl, makeWrapper, coreutils, python2, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: +{ stdenv, fetchurl, makeWrapper, coreutils, python3, duplicity, gawk, gnupg1, bash, gnugrep, txt2man, which }: stdenv.mkDerivation rec { name = "duply-${version}"; version = "2.1"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { mkdir -p "$out/share/man/man1" install -vD duply "$out/bin" sed -i $out/bin/duply -e "1a \ - export PATH='${stdenv.lib.makeBinPath [ coreutils python2 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' + export PATH='${stdenv.lib.makeBinPath [ coreutils python3 duplicity gawk gnupg1 bash gnugrep txt2man which ]}' " -e "1a \ export DUPL_PYTHON_BIN=$(basename ${duplicity}/lib/python*) " -- cgit v1.2.3