mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
unbound: don't run tests when cross-compiling
stdenv.mkDerivation will automatically set doCheck to false when cross-compiling (which is why the default checkPhase doesn't happen).
This commit is contained in:
parent
1103974a27
commit
e07e701515
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user