diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-05-13 11:41:17 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-05-13 11:41:17 +0200 |
commit | bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a (patch) | |
tree | d8478fbf0a154f9f322a3fd6311a7469a0361272 /pkgs/tools/misc/coreutils | |
parent | 3e387c3e005c87566b5403d24c86f71f4945a79b (diff) | |
download | nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar.gz nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar.bz2 nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar.lz nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar.xz nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.tar.zst nixlib-bb73e25cdc0dfdf2509d0c6f87b6549fa658c09a.zip |
coreutils: disable checks when using non-standard storeDir
That should help with https://github.com/NixOS/nix/issues/512
Diffstat (limited to 'pkgs/tools/misc/coreutils')
-rw-r--r-- | pkgs/tools/misc/coreutils/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 377e2d62eef6..1ad4f473e9d0 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -68,7 +68,8 @@ let # (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19025), # Darwin (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19351), # and {Open,Free}BSD. - doCheck = stdenv ? glibc; + # With non-standard storeDir: https://github.com/NixOS/nix/issues/512 + doCheck = stdenv ? glibc && builtins.storeDir == "/nix/store"; # Saw random failures like ‘help2man: can't get '--help' info from # man/sha512sum.td/sha512sum’. |