about summary refs log tree commit diff
path: root/pkgs/tools/networking/unbound
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2021-11-09 20:26:18 -0800
committerBernardo Meurer <bernardo@meurer.org>2021-11-09 20:26:18 -0800
commit28e5327e96bca1f62f9b78963220d5019a74fffe (patch)
treeaa0f1b1761b6b0d62971eb3235def40420145666 /pkgs/tools/networking/unbound
parentd5964b8c81a1fb893d17912576892bc35ae6e04c (diff)
unbound: don't run tests when cross compiling
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r--pkgs/tools/networking/unbound/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix
index 26401f229c257..5238f13d6984e 100644
--- a/pkgs/tools/networking/unbound/default.nix
+++ b/pkgs/tools/networking/unbound/default.nix
@@ -95,7 +95,7 @@ stdenv.mkDerivation rec {
 
   checkInputs = [ bison ];
 
-  doCheck = true;
+  doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
 
   installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];