Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

nix: Fix (potential) glibc errors in dev shell (#17974)

Marek Fajkuseda7e88fd4a9
diff --git a/nix/shell.nix b/nix/shell.nix
index 03e298e132f..476374b67ef 100644
--- a/nix/shell.nix
+++ b/nix/shell.nix
@@ -20,6 +20,8 @@ in
wayland
xorg.libxcb
vulkan-loader
+ rustc
+ cargo
];
in
pkgs.mkShell.override {inherit stdenv;} {
@@ -36,10 +38,7 @@ in
inherit buildInputs;
shellHook = ''
- export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath ([
- pkgs.vulkan-loader
- ]
- ++ buildInputs)}:$LD_LIBRARY_PATH"
+ export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH"
export PROTOC="${pkgs.protobuf}/bin/protoc"
'';