Merge pull request #130923 from dotlambda/duplicity-python39

duplicity: use python39
This commit is contained in:
Guillaume Girol 2021-07-23 19:44:47 +00:00 committed by GitHub
commit 2d18ed2ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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