python3Packages.ipykernel: fix build on darwin
This commit is contained in:
parent
afacb9d06b
commit
c69b4f8e9c
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
|
@ -36,6 +37,12 @@ buildPythonPackage rec {
|
|||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# see https://github.com/NixOS/nixpkgs/issues/76197
|
||||
"test_subprocess_print"
|
||||
"test_subprocess_error"
|
||||
"test_ipython_start_kernel_no_userns"
|
||||
];
|
||||
|
||||
# Some of the tests use localhost networking.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
|
Loading…
Reference in New Issue