1a6d7a3af4
If `:edit`ing a store path, don't reload repl afterwards to avoid losing local variables: store is immutable, so "editing" a store path is always just viewing it. Resolves: https://git.lix.systems/lix-project/lix/issues/341 Change-Id: I3747f75ce26e0595e953069c39ddc3ee80699718
392 B
392 B
synopsis | issues | cls | category | credits | |||
---|---|---|---|---|---|---|---|
`:edit`ing a file in Nix store no longer reloads the repl |
|
|
Improvements |
|
Calling :edit
from the repl now only reloads if the file being edited was outside of Nix store.
That means that all the local variables are now preserved across :edit
s of store paths.
This is always safe because the store is read-only.