pythonPackages.pycups: fix on Darwin

This commit is contained in:
Robert Schütz 2018-03-02 02:38:48 +01:00
parent 150d0b7428
commit a5e1dfe3e2

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchurl, cups }:
{ stdenv, lib, buildPythonPackage, fetchurl, cups, libiconv }:
buildPythonPackage rec {
pname = "pycups";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "c381be011889ca6f728598578c89c8ac9f7ab1e95b614474df9f2fa831ae5335";
};
buildInputs = [ cups ];
buildInputs = [ cups ] ++ lib.optional stdenv.isDarwin libiconv;
# Wants to connect to CUPS
doCheck = false;