perl-Module-Build-XSUtil: fix darwin build
While building the tests LD gets called with -mmacosx-version-min=10.10 which is a CC flag, causing the build to fail with LD=ld. This is pretty common with perl packages. /cc ZHF #45961
This commit is contained in:
parent
107448f19c
commit
dc6b36b994
@ -9650,11 +9650,12 @@ let
|
|||||||
sha256 = "004ly9xxjlsbrr2vhxsa1n84z3034gxrzr7z0wl45szd8v1v6qwh";
|
sha256 = "004ly9xxjlsbrr2vhxsa1n84z3034gxrzr7z0wl45szd8v1v6qwh";
|
||||||
};
|
};
|
||||||
buildInputs = [ CaptureTiny CwdGuard FileCopyRecursiveReduced ];
|
buildInputs = [ CaptureTiny CwdGuard FileCopyRecursiveReduced ];
|
||||||
|
propagatedBuildInputs = [ DevelCheckCompiler ];
|
||||||
|
perlPreHook = "export LD=$CC";
|
||||||
meta = {
|
meta = {
|
||||||
description = "A Module::Build class for building XS modules";
|
description = "A Module::Build class for building XS modules";
|
||||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ DevelCheckCompiler ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ModuleCPANTSAnalyse = buildPerlPackage rec {
|
ModuleCPANTSAnalyse = buildPerlPackage rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user