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 = ''
|
preCheck = ''
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -29,4 +30,4 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
|
|||||||
homepage = https://pypi.python.org/pypi/pathlib2/;
|
homepage = https://pypi.python.org/pypi/pathlib2/;
|
||||||
license = with lib.licenses; [ mit ];
|
license = with lib.licenses; [ mit ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user