mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
gnutls: Don't run tests when cross-compiling
This commit is contained in:
parent
de347ad65f
commit
3ed6239d6b
@ -12,7 +12,8 @@ assert guileBindings -> guile != null;
|
||||
let
|
||||
# XXX: Gnulib's `test-select' fails on FreeBSD:
|
||||
# http://hydra.nixos.org/build/2962084/nixlog/1/raw .
|
||||
doCheck = !stdenv.isFreeBSD && !stdenv.isDarwin && lib.versionAtLeast version "3.4";
|
||||
doCheck = !stdenv.isFreeBSD && !stdenv.isDarwin && lib.versionAtLeast version "3.4"
|
||||
&& stdenv.buildPlatform == stdenv.hostPlatform;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "gnutls-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user