taterclient-ddnet: fix x86 darwin
This commit is contained in:
parent
24dbf44d65
commit
442f066a3f
@ -27,7 +27,7 @@
|
||||
glslang,
|
||||
spirv-tools,
|
||||
gtest,
|
||||
darwin,
|
||||
apple-sdk_11,
|
||||
}:
|
||||
let
|
||||
clientExecutable = "TaterClient-DDNet";
|
||||
@ -80,15 +80,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
spirv-tools
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ libX11 ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin (
|
||||
with darwin.apple_sdk.frameworks;
|
||||
[
|
||||
Carbon
|
||||
Cocoa
|
||||
OpenGL
|
||||
Security
|
||||
]
|
||||
);
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
apple-sdk_11
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/engine/shared/storage.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user