git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #92802 from misuzu/rednose-macos

pythonPackages.rednose: fix build on macOS

commit178de8429d1225687f60af7e5cdd1cd8681e3ee5 authorMario Rodas <marsam@users.noreply.github.com> dateWed 15 Jul 2020, 20:24 (6 years ago) parentbc241048003ec8
1 file changed+4−2
pkgs/development/python-modules/rednose/default.nix+4−2
pkgs/development/python-modules/rednose/default.nix+4−2
@@ -1,4 +1,5 @@
1−{ stdenv, buildPythonPackage, fetchPypi, isPy27, nose, six, colorama, termstyle }:
1+{ stdenv, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
2+, nose, six, colorama, termstyle }:
23
34buildPythonPackage rec {
45 pname = "rednose";
@@ -15,7 +16,8 @@ buildPythonPackage rec {
1516
1617 # Do not test on Python 2 because the tests suite gets stuck
1718 # https://github.com/NixOS/nixpkgs/issues/60786
18− doCheck = !(isPy27);
19+ # Also macOS tests are broken on python38
20+ doCheck = !(isPy27 || (stdenv.isDarwin && pythonAtLeast "3.8"));
1921
2022 checkInputs = [ six ];
2123 propagatedBuildInputs = [ nose colorama termstyle ];