perlPackages.Mouse: 2.4.5 -> 2.4.10, fix 32bit

The package enables stackprotector and fails on 32bit.

Our default stackprotector has to be turned off, too..
This commit is contained in:
Robin Gloster 2017-08-01 10:33:47 +02:00
parent ff8684a141
commit c6be8c75fe
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -9751,15 +9751,17 @@ let self = _self // overrides; _self = with self; {
};
Mouse = buildPerlModule rec {
name = "Mouse-v2.4.5";
name = "Mouse-v2.4.10";
src = fetchurl {
url = "mirror://cpan/authors/id/S/SY/SYOHEX/${name}.tar.gz";
sha256 = "1f4dps68f2w1fwqjfpr4kllbcbwd744v3h1r9rkpwc2fhvq3q8hl";
url = "mirror://cpan/authors/id/G/GF/GFUJI/${name}.tar.gz";
sha256 = "053d28c4v8kj7llwfwj5hjkvc1kcs6mvcn24yg7vxklgj6hxv5dr";
};
buildInputs = [
ModuleBuildXSUtil TestException TestLeakTrace TestRequires TestOutput
TestFatal
];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isi686 "-fno-stack-protector";
hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector";
};
MouseXNativeTraits = buildPerlPackage rec {