Skip to content

Commit

Permalink
perlPackages.Mouse: 2.4.5 -> 2.4.10, fix 32bit
Browse files Browse the repository at this point in the history
The package enables stackprotector and fails on 32bit.

Our default stackprotector has to be turned off, too..
  • Loading branch information
globin committed Aug 1, 2017
1 parent ff8684a commit c6be8c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c6be8c7

Please sign in to comment.