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: Allow auto-update in the devshell (#26911)

Julia Ryan22d905dc0334
diff --git a/nix/shell.nix b/nix/shell.nix
index 8471de99c37..9d880065d6a 100644
--- a/nix/shell.nix
+++ b/nix/shell.nix
@@ -46,8 +46,10 @@ mkShell' {
passthru = { inherit (attrs) env; };
})).env; # exfil `env`; it's not in drvAttrs
in
- # unsetting this var so we download the staticlib during the build
- (removeAttrs baseEnvs [ "LK_CUSTOM_WEBRTC" ])
+ (removeAttrs baseEnvs [
+ "LK_CUSTOM_WEBRTC" # download the staticlib during the build as usual
+ "ZED_UPDATE_EXPLANATION" # allow auto-updates
+ ])
// {
# note: different than `$FONTCONFIG_FILE` in `build.nix` – this refers to relative paths
# outside the nix store instead of to `$src`