From 3348c45a04e8156372a5630fca715027e97a9d54 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 5 Feb 2021 13:49:07 +0100 Subject: [PATCH] python3Packages.primer3: fix build on darwin (the build requires gcc) --- pkgs/development/python-modules/primer3/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/primer3/default.nix b/pkgs/development/python-modules/primer3/default.nix index e8aa83ed94d9..0f1a2ac66fef 100644 --- a/pkgs/development/python-modules/primer3/default.nix +++ b/pkgs/development/python-modules/primer3/default.nix @@ -1,7 +1,9 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , cython +, gcc , click }: @@ -16,7 +18,8 @@ buildPythonPackage rec { sha256 = "1glybwp9w2m1ydvaphr41gj31d8fvlh40s35galfbjqa563si72g"; }; - nativeBuildInputs = [ cython ]; + nativeBuildInputs = [ cython ] + ++ lib.optionals stdenv.isDarwin [ gcc ]; # pytestCheckHook leads to a circular import issue checkInputs = [ click ];