mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #212096 from boeyms/fix-darwin.dtrace
darwin.dtrace: Fix failing build
This commit is contained in:
commit
c5da2d2a89
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
{ appleDerivation, xcbuildHook, CoreSymbolication
|
||||
{ appleDerivation, xcbuildHook, CoreSymbolication, apple_sdk
|
||||
, xnu, bison, flex, darling, stdenv, fixDarwinDylibNames }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook flex bison fixDarwinDylibNames ];
|
||||
buildInputs = [ CoreSymbolication darling xnu ];
|
||||
buildInputs = [ CoreSymbolication apple_sdk.frameworks.CoreSymbolication darling xnu ];
|
||||
# -fcommon: workaround build failure on -fno-common toolchains:
|
||||
# duplicate symbol '_kCSRegionMachHeaderName' in: libproc.o dt_module_apple.o
|
||||
NIX_CFLAGS_COMPILE = "-DCTF_OLD_VERSIONS -DPRIVATE -DYYDEBUG=1 -I${xnu}/Library/Frameworks/System.framework/Headers -Wno-error=implicit-function-declaration -fcommon";
|
||||
|
|
Loading…
Reference in a new issue