Merge pull request #46501 from LnL7/darwin-perl-Module-Build-XSUtil
perl-Module-Build-XSUtil: fix darwin build
This commit is contained in:
commit
288f9c648f
@ -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 {
|
||||||
@ -10883,6 +10884,7 @@ let
|
|||||||
sha256 = "1j3048ip691j91rdig6wrlg6i4jdzhszxmz5pi2g7n355rl2w00l";
|
sha256 = "1j3048ip691j91rdig6wrlg6i4jdzhszxmz5pi2g7n355rl2w00l";
|
||||||
};
|
};
|
||||||
buildInputs = [ DevelPPPort ModuleBuildXSUtil TestException TestFatal TestLeakTrace TestOutput TestRequires TryTiny self.version ];
|
buildInputs = [ DevelPPPort ModuleBuildXSUtil TestException TestFatal TestLeakTrace TestOutput TestRequires TryTiny self.version ];
|
||||||
|
perlPreHook = "export LD=$CC";
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isi686 "-fno-stack-protector";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isi686 "-fno-stack-protector";
|
||||||
hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector";
|
hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user