mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 18:47:57 +03:00
Merge pull request #222291 from viraptor/pygls-fix-darwin
python310Packages.pygls: fix darwin on hydra
This commit is contained in:
commit
9cc171df46
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
@ -45,6 +46,11 @@ buildPythonPackage rec {
|
||||
# Fixes hanging tests on Darwin
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
preCheck = lib.optionalString stdenv.isDarwin ''
|
||||
# Darwin issue: OSError: [Errno 24] Too many open files
|
||||
ulimit -n 1024
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pygls" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user