From 442c07837607ed3095090719d3b9e5377e3f7046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Sun, 21 Feb 2021 14:06:05 +0100 Subject: [PATCH] bup: Fix par2 path patching Because of Python 3 compatibility change in bup 0.30.1 the substitution fails. --- pkgs/tools/backup/bup/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/backup/bup/default.nix b/pkgs/tools/backup/bup/default.nix index 3b81295ccf2..22f41c2b0c1 100644 --- a/pkgs/tools/backup/bup/default.nix +++ b/pkgs/tools/backup/bup/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation { substituteInPlace Makefile --replace "-Werror" "" substituteInPlace Makefile --replace "./format-subst.pl" "${perl}/bin/perl ./format-subst.pl" '' + optionalString par2Support '' - substituteInPlace cmd/fsck-cmd.py --replace "['par2'" "['${par2cmdline}/bin/par2'" + substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'" ''; dontAddPrefix = true;