about summary refs log tree commit diff
path: root/pkgs/development/libraries/gdbm
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-15 15:39:35 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-27 20:32:24 -0400
commit99932a894f560d903e65229e157275ec9a5ee94c (patch)
tree93f1887ae62c9217ffd6911cde81b5f8e57792f9 /pkgs/development/libraries/gdbm
parent6b1a2b3089d4307e10f87618325ce17dc1e6f934 (diff)
downloadnixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar.gz
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar.bz2
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar.lz
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar.xz
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.tar.zst
nixlib-99932a894f560d903e65229e157275ec9a5ee94c.zip
gdbm: Don't run tests when cross-compiling
Diffstat (limited to 'pkgs/development/libraries/gdbm')
-rw-r--r--pkgs/development/libraries/gdbm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gdbm/default.nix b/pkgs/development/libraries/gdbm/default.nix
index c6313dec90ce..3b78225a447f 100644
--- a/pkgs/development/libraries/gdbm/default.nix
+++ b/pkgs/development/libraries/gdbm/default.nix
@@ -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.