coreutils: enable tests for non-standard store path
Tests don't fail because of a different store path, but for other reasons like lack of sandboxing. Those tests should be disabled explicitly.
This commit is contained in:
parent
ae64aaa5c0
commit
25f8e0cef9
1 changed files with 1 additions and 2 deletions
|
@ -103,8 +103,7 @@ stdenv.mkDerivation (rec {
|
|||
# and {Open,Free}BSD.
|
||||
# With non-standard storeDir: https://github.com/NixOS/nix/issues/512
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform
|
||||
&& (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.isMusl)
|
||||
&& builtins.storeDir == "/nix/store";
|
||||
&& (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.isMusl);
|
||||
|
||||
# Prevents attempts of running 'help2man' on cross-built binaries.
|
||||
PERL = if stdenv.hostPlatform == stdenv.buildPlatform then null else "missing";
|
||||
|
|
Loading…
Reference in a new issue