Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.pycups: fix on Darwin

(cherry picked from commit a5e1dfe3e2836350bcf776c500387cb25fe87e04)

+2 -2
+2 -2
pkgs/development/python-modules/pycups/default.nix
··· 1 - { lib, buildPythonPackage, fetchurl, cups }: 1 + { stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pycups"; ··· 9 9 sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335"; 10 10 }; 11 11 12 - buildInputs = [ cups ]; 12 + buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv; 13 13 14 14 # Wants to connect to CUPS 15 15 doCheck = false;