diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-03-21 13:01:17 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-03-21 13:01:49 +0100 |
commit | 3760c8c7fde6e8b15d19b063579d05018fc2d8b3 (patch) | |
tree | b081b03bcb4bc6f9de14a96c185e4731a64355d5 /pkgs/misc/drivers/hplip/default.nix | |
parent | 1b0d9e9ae64b677c09f345f740f5a94fa41eb468 (diff) | |
download | nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.gz nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.bz2 nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.lz nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.xz nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.tar.zst nixlib-3760c8c7fde6e8b15d19b063579d05018fc2d8b3.zip |
Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function, `buildPythonPackage`.
Diffstat (limited to 'pkgs/misc/drivers/hplip/default.nix')
-rw-r--r-- | pkgs/misc/drivers/hplip/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/misc/drivers/hplip/default.nix b/pkgs/misc/drivers/hplip/default.nix index c0a6c0a9baa0..1c40493e4ae9 100644 --- a/pkgs/misc/drivers/hplip/default.nix +++ b/pkgs/misc/drivers/hplip/default.nix @@ -47,8 +47,9 @@ in assert withPlugin -> builtins.elem hplipArch pluginArches || throw "HPLIP plugin not supported on ${stdenv.system}"; -pythonPackages.mkPythonDerivation { +pythonPackages.buildPythonApplication { inherit name src; + format = "other"; buildInputs = [ libjpeg |