diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-06-03 20:35:03 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-06-22 17:53:54 -0400 |
commit | b93e6034d5c37ce2f6faa632a08a619b5c01b52f (patch) | |
tree | 47af04be312e0f51549ab180c746f10038ed916d /pkgs/development/libraries/libsigsegv | |
parent | af8d1a4acebdb723f75c20512f4458d2bc82e8ae (diff) |
libsigsegv: Fix for cross by disabling check
Check phase is now only disabled *by default* for cross, but this package was forcing it unconditionally.
Diffstat (limited to 'pkgs/development/libraries/libsigsegv')
-rw-r--r-- | pkgs/development/libraries/libsigsegv/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libsigsegv/default.nix b/pkgs/development/libraries/libsigsegv/default.nix index 0e644686af02c..961b3b2d883bb 100644 --- a/pkgs/development/libraries/libsigsegv/default.nix +++ b/pkgs/development/libraries/libsigsegv/default.nix @@ -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/; |