summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-11-11 12:23:12 +0000
committerAlyssa Ross <hi@alyssa.is>2021-11-11 12:23:12 +0000
commit1103974a279c14d3a60de98700fba2d2918f3256 (patch)
tree2ef750143e37d2e73ebd1f8c34016b954cf888e4
parent62b9b0d9e860b2223bb0d4a1fa1d06045197fe2d (diff)
downloadnixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar.gz
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar.bz2
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar.lz
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar.xz
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.tar.zst
nixpkgs-1103974a279c14d3a60de98700fba2d2918f3256.zip
Revert "unbound: don't run tests when cross compiling"
This reverts commit 28e5327e96bca1f62f9b78963220d5019a74fffe.

This change didn't have any effect, because stdenv.mkDerivation will
ignore the doCheck argument when cross-compiling.  The reason tests
are being run when cross-compiling is because of the manual checkPhase
invocation in postFixup.
-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 5238f13d698..26401f229c2 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 = stdenv.buildPlatform == stdenv.hostPlatform;
+  doCheck = true;
 
   installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];