From 2bbd1d877b971801020bb7a84341c0463934a569 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 18 Aug 2017 15:08:26 -0400 Subject: [PATCH] perl-ExtUtils-LibBuilder: Use the C compiler to link --- pkgs/top-level/perl-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index dd39fa078b9a..781d3f89bbf5 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -5119,6 +5119,7 @@ let self = _self // overrides; _self = with self; { url = mirror://cpan/authors/id/A/AM/AMBS/ExtUtils/ExtUtils-LibBuilder-0.04.tar.gz; sha256 = "0j4rhx3w6nbvmxqjg6q09gm10nnpkcmqmh29cgxsfc9k14d8bb6w"; }; + perlPreHook = "export LD=$CC"; meta = { description = "A tool to build C libraries"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];