Skip to content

Commit

Permalink
python2Packages.pathlib2: disable test that assumes /etc/passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Feb 26, 2018
1 parent a2a922d commit 754816b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/pathlib2/default.nix
Expand Up @@ -22,11 +22,12 @@ 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 = {
description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems.";
homepage = https://pypi.python.org/pypi/pathlib2/;
license = with lib.licenses; [ mit ];
};
}
}

0 comments on commit 754816b

Please sign in to comment.