gnutls: Don't run tests when cross-compiling
This commit is contained in:
parent
de347ad65f
commit
3ed6239d6b
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@ assert guileBindings -> guile != null;
|
||||||
let
|
let
|
||||||
# XXX: Gnulib's `test-select' fails on FreeBSD:
|
# XXX: Gnulib's `test-select' fails on FreeBSD:
|
||||||
# http://hydra.nixos.org/build/2962084/nixlog/1/raw .
|
# 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
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnutls-${version}";
|
name = "gnutls-${version}";
|
||||||
|
|
Loading…
Reference in a new issue