3
0
Fork 0
forked from mirrors/nixpkgs

coreutils: disable checks when using non-standard storeDir

That should help with https://github.com/NixOS/nix/issues/512
This commit is contained in:
Vladimír Čunát 2016-05-13 11:41:17 +02:00
parent 3e387c3e00
commit bb73e25cdc

View file

@ -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.