From 28e5327e96bca1f62f9b78963220d5019a74fffe Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Tue, 9 Nov 2021 20:26:18 -0800 Subject: [PATCH] unbound: don't run tests when cross compiling --- pkgs/tools/networking/unbound/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 26401f229c25..5238f13d6984 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" ];