ZIm/nix
Julia Ryan 22d905dc03
nix: Allow auto-update in the devshell (#26911)
Our direnv integration was making zed refuse to auto-update when you had
the zed repo open with the devshell active. This was happening even when
you used a non-nix build of zed, which actually should be able to
auto-update.

I'm a bit unsure of why we check for the `ZED_UPDATE_EXPLANATION` env
var [both at build time _and_ at
runtime](2828dcb67b/crates/auto_update/src/auto_update.rs (L149)),
but I can see an argument for why people might want that so I'll just do
the less intrusive change for now and leave the var out of the devshell.

Release Notes:

- N/A
2025-03-17 04:49:56 -07:00
..
build.nix nix: Disable checks and remove crane workaround (#26356) 2025-03-10 02:00:57 -07:00
shell.nix nix: Allow auto-update in the devshell (#26911) 2025-03-17 04:49:56 -07:00