diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/gpgme/default.nix | 7 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix index 2079123ed1a34..a2b7daa28de10 100644 --- a/pkgs/development/libraries/gpgme/default.nix +++ b/pkgs/development/libraries/gpgme/default.nix @@ -17,7 +17,6 @@ , qtbase ? null , pythonSupport ? false , swig2 ? null -, python ? null # only for passthru.tests , libsForQt5 , python3 @@ -51,12 +50,16 @@ stdenv.mkDerivation rec { pkg-config texinfo ] ++ lib.optionals pythonSupport [ + python3.pythonForBuild ncurses - python swig2 which ]; + buildInputs = lib.optionals pythonSupport [ + python3 + ]; + propagatedBuildInputs = [ glib libassuan diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index acf33a4c12822..504401ea01962 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4131,7 +4131,7 @@ self: super: with self; { gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport = true; - inherit python; + python3 = python; }); gphoto2 = callPackage ../development/python-modules/gphoto2 { }; |