duplicity: use python38

Its dependency boto does not support Python 3.9.
This commit is contained in:
Robert Schütz 2021-07-03 11:23:54 +02:00 committed by Jonathan Ringer
parent 96e39fb152
commit 4a6f6ab9c9
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ lib, stdenv
, fetchurl
, pythonPackages
, python38
, librsync
, ncftp
, gnupg
@ -12,6 +12,7 @@
, gettext
}:
let
pythonPackages = python38.pkgs;
inherit (lib.versions) majorMinor splitVersion;
majorMinorPatch = v: builtins.concatStringsSep "." (lib.take 3 (splitVersion v));
in

View file

@ -4274,9 +4274,7 @@ in
duplicati = callPackage ../tools/backup/duplicati { };
duplicity = callPackage ../tools/backup/duplicity {
pythonPackages = python3Packages;
};
duplicity = callPackage ../tools/backup/duplicity { };
duply = callPackage ../tools/backup/duply { };