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;
|
url = mirror://cpan/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz;
|
||||||
sha256 = "0nlgdzy40q26z8qhwngsd461glyai8dpwaccyhiljmrkaqwdjxz2";
|
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 = {
|
meta = {
|
||||||
description = "JSON (JavaScript Object Notation) encoder/decoder";
|
description = "JSON (JavaScript Object Notation) encoder/decoder";
|
||||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user