perlPackages: fix wine-staging build on i686

Something something cflags I guess?
This commit is contained in:
K900 2024-05-21 10:04:47 +03:00
parent 723dfb2727
commit 9d5ff613e5

View File

@ -23770,7 +23770,7 @@ with self; {
}; };
buildInputs = [ Test2Suite ]; buildInputs = [ Test2Suite ];
propagatedBuildInputs = [ XSParseKeyword ]; propagatedBuildInputs = [ XSParseKeyword ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; perlPreHook = lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC";
meta = { meta = {
description = "A try/catch/finally syntax for perl"; description = "A try/catch/finally syntax for perl";
license = with lib.licenses; [ artistic1 gpl1Plus ]; license = with lib.licenses; [ artistic1 gpl1Plus ];
@ -28944,7 +28944,7 @@ with self; {
hash = "sha256-JQDEeGnPXKjGHdI8Z7rav2a48e+14nkgdlfBzmk+IR4="; hash = "sha256-JQDEeGnPXKjGHdI8Z7rav2a48e+14nkgdlfBzmk+IR4=";
}; };
buildInputs = [ ExtUtilsCChecker Test2Suite ]; buildInputs = [ ExtUtilsCChecker Test2Suite ];
perlPreHook = lib.optionalString stdenv.isDarwin "export LD=$CC"; perlPreHook = lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC";
meta = { meta = {
description = "XS functions to assist in parsing keyword syntax"; description = "XS functions to assist in parsing keyword syntax";
license = with lib.licenses; [ artistic1 gpl1Plus ]; license = with lib.licenses; [ artistic1 gpl1Plus ];