From 505b810a7fc181a783ceab1659b549ce211dec3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 1 Mar 2019 14:38:48 +0100 Subject: [PATCH] python.pkgs.pyscard: move swig to nativeBuildInputs --- pkgs/development/python-modules/pyscard/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyscard/default.nix b/pkgs/development/python-modules/pyscard/default.nix index 4784e46ffb21..a15342e17fa3 100644 --- a/pkgs/development/python-modules/pyscard/default.nix +++ b/pkgs/development/python-modules/pyscard/default.nix @@ -17,7 +17,8 @@ buildPythonPackage rec { NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/"; propagatedBuildInputs = [ pcsclite ]; - buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC; + buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC; + nativeBuildInputs = [ swig ]; meta = { homepage = https://pyscard.sourceforge.io/;