From f3c5cbc3029b68d465a10903a96c07f46e1c200b Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Mon, 19 Aug 2024 21:37:53 +0200 Subject: [PATCH] perlPackages.SafeHole: fix darwin build --- pkgs/top-level/perl-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index c38a20517317..d1cdb115b02f 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -23666,11 +23666,11 @@ with self; { url = "mirror://cpan/authors/id/T/TO/TODDR/Safe-Hole-0.14.tar.gz"; hash = "sha256-9PVui70GxP5K4G2xIYbeyt+6wep3XqGMbAKJSB0V7AU="; }; + perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; meta = { description = "Lib/Safe/Hole.pm"; homepage = "https://github.com/toddr/Safe-Hole"; license = with lib.licenses; [ artistic1 gpl1Plus ]; - broken = stdenv.isDarwin; }; };