mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
python2Packages.pathlib2: disable test that assumes /etc/passwd
This commit is contained in:
parent
a2a922d5c8
commit
754816b84b
@ -22,6 +22,7 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
|
||||
|
||||
preCheck = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -29,4 +30,4 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
|
||||
homepage = https://pypi.python.org/pypi/pathlib2/;
|
||||
license = with lib.licenses; [ mit ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user