mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
zed-editor: remove darwin workaround for isysroot
This commit is contained in:
parent
549b778c4e
commit
87fe6550bb
@ -197,9 +197,6 @@ rustPlatform.buildRustPackage rec {
|
||||
ZED_UPDATE_EXPLANATION = "Zed has been installed using Nix. Auto-updates have thus been disabled.";
|
||||
# Used by `zed --version`
|
||||
RELEASE_VERSION = version;
|
||||
# Required until `-isysroot` can be used with libclang in nixpkgs on darwin, otherwise
|
||||
# rust bindgen will not work as expected
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-F${apple-sdk_15.sdkroot}/System/Library/Frameworks";
|
||||
};
|
||||
|
||||
RUSTFLAGS = if withGLES then "--cfg gles" else "";
|
||||
|
Loading…
Reference in New Issue
Block a user