mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
Merge pull request #41821 from volth/patch-150
perlPackages.JSON: fix cross-compilation
This commit is contained in:
commit
053f927e63
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user