git.iko.soy/typeable/nixpkgs
on master help sign in
python2Packages.pathlib2: disable test that assumes /etc/passwd
commit754816b84b98afdc0727e13dd66e1698b097de6a authorMichael Raskin <7c6f434c@mail.ru> dateMon 26 Feb 2018, 12:46 (9 years ago) parenta2a922d
1 file changed+2−1
pkgs/development/python-modules/pathlib2/default.nix+2−1
pkgs/development/python-modules/pathlib2/default.nix+2−1
@@ -22,6 +22,7 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
2222
2323 preCheck = ''
2424 export LC_ALL="en_US.UTF-8"
25+ sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
2526 '';
2627
2728 meta = {
@@ -29,4 +30,4 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
2930 homepage = https://pypi.python.org/pypi/pathlib2/;
3031 license = with lib.licenses; [ mit ];
3132 };
32−}
33+}