python2Packages.pathlib2: disable test that assumes /etc/passwd
This commit is contained in:
parent
a2a922d5c8
commit
754816b84b
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue