libsigsegv: Fix for cross by disabling check

Check phase is now only disabled *by default* for cross, but this
package was forcing it unconditionally.
This commit is contained in:
John Ericson 2017-06-03 20:35:03 -04:00 committed by John Ericson
parent af8d1a4ace
commit b93e6034d5

View file

@ -1,4 +1,6 @@
{ fetchurl, stdenv }:
{ stdenv, fetchurl
, buildPlatform, hostPlatform
}:
stdenv.mkDerivation rec {
name = "libsigsegv-2.11";
@ -8,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "063swdvq7mbmc1clv0rnh20grwln1zfc2qnm0sa1hivcxyr2wz6x";
};
doCheck = true;
doCheck = hostPlatform == buildPlatform;
meta = {
homepage = http://www.gnu.org/software/libsigsegv/;