lol

perlPackages.AlienLibGumbo: fix build (#411028)

authored by

kirillrdy and committed by
GitHub
f062b72d 3866ad91

+5 -1
+5 -1
pkgs/top-level/perl-packages.nix
··· 456 456 url = "mirror://cpan/authors/id/R/RU/RUZ/Alien-LibGumbo-0.05.tar.gz"; 457 457 hash = "sha256-D76RarEfaA5cKM0ayAA3IyPioOBq/8bIs2J5/GTXZRc="; 458 458 }; 459 + # Fix linker detection broken by exported LD (see nixpkgs#9f2a89f) 460 + preBuild = '' 461 + export LD="${lib.getExe' stdenv.cc.bintools "${stdenv.cc.bintools.targetPrefix}ld"}" 462 + ''; 459 463 buildInputs = [ AlienBaseModuleBuild ]; 460 464 propagatedBuildInputs = [ 461 465 AlienBuild ··· 468 472 artistic1 469 473 gpl1Plus 470 474 ]; 471 - broken = stdenv.hostPlatform.isLinux; # Fails with: cannot find ./.libs/libgumbo.so 475 + broken = stdenv.hostPlatform.isDarwin; # Fails with: ld: unknown option 472 476 }; 473 477 }; 474 478