diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/backup/duplicity/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/backup/duplicity/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/backup/duplicity/default.nix b/nixpkgs/pkgs/tools/backup/duplicity/default.nix index 399d6b9ada32..24e1a2954ed6 100644 --- a/nixpkgs/pkgs/tools/backup/duplicity/default.nix +++ b/nixpkgs/pkgs/tools/backup/duplicity/default.nix @@ -1,5 +1,4 @@ { lib, stdenv -, fetchpatch , fetchurl , pythonPackages , librsync @@ -9,7 +8,6 @@ , par2cmdline , util-linux , rsync -, backblaze-b2 , makeWrapper , gettext }: @@ -34,19 +32,23 @@ pythonPackages.buildPythonApplication rec { # to make the testing code stop assuming it is run from the source directory. ./use-installed-scripts-in-test.patch ] ++ lib.optionals stdenv.isLinux [ + # Broken on Linux in Nix' build environment ./linux-disable-timezone-test.patch ]; + SETUPTOOLS_SCM_PRETEND_VERSION = version; + nativeBuildInputs = [ makeWrapper gettext pythonPackages.wrapPython + pythonPackages.setuptools-scm ]; buildInputs = [ librsync ]; - propagatedBuildInputs = with pythonPackages; [ + pythonPath = with pythonPackages; [ b2sdk boto boto3 |