forked from mirrors/nixpkgs
gdbm: Don't run tests when cross-compiling
This commit is contained in:
parent
6b1a2b3089
commit
99932a894f
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0lx201q20dvc70f8a3c9s7s18z15inlxvbffph97ngvrgnyjq9cx";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
|
||||
# Linking static stubs on cygwin requires correct ordering.
|
||||
# Consider upstreaming this.
|
||||
|
|
Loading…
Reference in a new issue