From a5e1dfe3e2836350bcf776c500387cb25fe87e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 2 Mar 2018 02:38:48 +0100 Subject: [PATCH] pythonPackages.pycups: fix on Darwin --- pkgs/development/python-modules/pycups/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycups/default.nix b/pkgs/development/python-modules/pycups/default.nix index c9dce5597017..28dff352e389 100644 --- a/pkgs/development/python-modules/pycups/default.nix +++ b/pkgs/development/python-modules/pycups/default.nix @@ -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;