Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
nix: Fix webrtc-sys and libstdc++ build errors in development shell (#22938)
AidanV1f84c1b6c78e
diff --git a/nix/shell.nix b/nix/shell.nixindex acdbc82ca50..69472d01fa6 100644--- a/nix/shell.nix+++ b/nix/shell.nix@@ -22,6 +22,7 @@ pkgs.mkShell rec {buildInputs =[+ pkgs.bzip2pkgs.curlpkgs.fontconfigpkgs.freetype@@ -41,6 +42,8 @@ pkgs.mkShell rec {]++ lib.optional pkgs.stdenv.hostPlatform.isDarwin pkgs.apple-sdk_15;+ LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";+# We set SDKROOT and DEVELOPER_DIR to the Xcode ones instead of the nixpkgs ones,# because we need Swift 6.0 and nixpkgs doesn't have it.# Xcode is required for development anyways