diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2018-02-26 12:46:29 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2018-02-26 12:48:01 +0100 |
commit | 754816b84b98afdc0727e13dd66e1698b097de6a (patch) | |
tree | d57c9eb018f55c94c7a5ab84e45fc4489551d6ca /pkgs/development/python-modules/pathlib2 | |
parent | a2a922d5c894f18ca59fa5929b96350594d768b6 (diff) | |
download | nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar.gz nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar.bz2 nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar.lz nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar.xz nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.tar.zst nixlib-754816b84b98afdc0727e13dd66e1698b097de6a.zip |
python2Packages.pathlib2: disable test that assumes /etc/passwd
Diffstat (limited to 'pkgs/development/python-modules/pathlib2')
-rw-r--r-- | pkgs/development/python-modules/pathlib2/default.nix | 3 |
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 +} |