summary refs log tree commit diff
path: root/pkgs/development/python-modules/pathlib2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pathlib2/default.nix')
-rw-r--r--pkgs/development/python-modules/pathlib2/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pathlib2/default.nix b/pkgs/development/python-modules/pathlib2/default.nix
index 18c083298e68..09d759c97ee3 100644
--- a/pkgs/development/python-modules/pathlib2/default.nix
+++ b/pkgs/development/python-modules/pathlib2/default.nix
@@ -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 ];
   };
-}
\ No newline at end of file
+}