mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
taterclient-ddnet: fix x86 darwin (#355552)
This commit is contained in:
commit
7e22abae1c
@ -27,7 +27,7 @@
|
|||||||
glslang,
|
glslang,
|
||||||
spirv-tools,
|
spirv-tools,
|
||||||
gtest,
|
gtest,
|
||||||
darwin,
|
apple-sdk_11,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
clientExecutable = "TaterClient-DDNet";
|
clientExecutable = "TaterClient-DDNet";
|
||||||
@ -80,15 +80,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
spirv-tools
|
spirv-tools
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [ libX11 ]
|
++ lib.optionals stdenv.hostPlatform.isLinux [ libX11 ]
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin (
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
with darwin.apple_sdk.frameworks;
|
apple-sdk_11
|
||||||
[
|
];
|
||||||
Carbon
|
|
||||||
Cocoa
|
|
||||||
OpenGL
|
|
||||||
Security
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/engine/shared/storage.cpp \
|
substituteInPlace src/engine/shared/storage.cpp \
|
||||||
|
Loading…
Reference in New Issue
Block a user