diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-06-11 10:33:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 10:33:00 +0100 |
commit | 053f927e63fc768a3d6333a657db0b88baba32e4 (patch) | |
tree | 18d897c186554286298a1f36b11a0462133f4fe4 /pkgs/top-level | |
parent | 796fa8190e3bb398aa322fbe27da2f4c7b0e1e8b (diff) | |
parent | 7f3db0dd7275c05e779fcb8506478e62278e8e6f (diff) | |
download | nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar.gz nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar.bz2 nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar.lz nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar.xz nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.tar.zst nixlib-053f927e63fc768a3d6333a657db0b88baba32e4.zip |
Merge pull request #41821 from volth/patch-150
perlPackages.JSON: fix cross-compilation
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 042a31306511..2ee454f09581 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -8171,6 +8171,10 @@ let self = _self // overrides; _self = with self; { url = mirror://cpan/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz; sha256 = "0nlgdzy40q26z8qhwngsd461glyai8dpwaccyhiljmrkaqwdjxz2"; }; + # Do not abort cross-compilation on failure to load native JSON module into host perl + preConfigure = '' + substituteInPlace Makefile.PL --replace "exit 0;" "" + ''; meta = { description = "JSON (JavaScript Object Notation) encoder/decoder"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; |