1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

perlPackages.JSON: Fix cross-compilation.

This commit is contained in:
Shea Levy 2018-02-28 12:10:11 -05:00
parent dd6c926362
commit b0d6c67505
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -7646,6 +7646,13 @@ let self = _self // overrides; _self = with self; {
url = mirror://cpan/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz;
sha256 = "127yppvr17qik9pkd1vy901hs4l13kg6rhp76jdgcyask35v7nsd";
};
preConfigure = ''
cp lib/JSON/backportPP.pm{,orig}
echo "1;" > lib/JSON/backportPP.pm
'';
postConfigure = ''
cp lib/JSON/backportPP.pm{,orig}
'';
buildInputs = [ TestPod ];
meta = {
description = "JSON (JavaScript Object Notation) encoder/decoder";