gdbm: Don't run tests when cross-compiling

This commit is contained in:
Ben Gamari 2017-10-15 15:39:35 -04:00
parent 6b1a2b3089
commit 99932a894f

View File

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