diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-11-11 07:19:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 07:19:48 -0800 |
commit | 00dce9574b7ac679b058dc8398d5403f9b44eca2 (patch) | |
tree | d34a49d2c58a997d1df0bde799f0bb32424dbac3 /pkgs | |
parent | 72a9df74f073f0af7bd1f14885d15f7f04c4992a (diff) | |
parent | e07e70151513ddc90ec178f681e471ee5cf67890 (diff) |
Merge pull request #145479 from alyssais/unbound
unbound: *actually* don't run tests when cross-compiling
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/unbound/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 5238f13d6984e..98b7b2547d691 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" ]; @@ -113,7 +113,9 @@ stdenv.mkDerivation rec { configureFlags="$configureFlags --with-nettle=${nettle.dev} --with-libunbound-only" configurePhase buildPhase - checkPhase + if [ -n "$doCheck" ]; then + checkPhase + fi installPhase '' # get rid of runtime dependencies on $dev outputs |