perlPackages.YAMLSyck: fix darwin build

This commit is contained in:
Stig Palmquist 2020-07-07 19:48:27 +02:00
parent 832a240b12
commit 1891480e23
No known key found for this signature in database
GPG Key ID: DA4C335C11D70DA7

View File

@ -21773,6 +21773,7 @@ let
url = "mirror://cpan/authors/id/T/TO/TODDR/YAML-Syck-1.32.tar.gz";
sha256 = "1fz9r9vvsmjkzvcbznxw65b319vkmwzd0ck09q9nwip00gn907fv";
};
perlPreHook = stdenv.lib.optionalString stdenv.isDarwin "export LD=$CC";
meta = {
description = "Fast, lightweight YAML loader and dumper";
license = stdenv.lib.licenses.mit;