libidn: Don't run tests when cross-compiling

This commit is contained in:
Ben Gamari 2017-10-15 14:13:36 -04:00
parent bba7c214ff
commit 97c1211f95

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" "info" "devdoc" ];
doCheck = ! stdenv.isDarwin;
doCheck = (stdenv.buildPlatform == stdenv.hostPlatform) && !stdenv.isDarwin;
hardeningDisable = [ "format" ];