Files
lix/tests/functional/repl_characterization/data/repl_overlays_regression_l777.test
T
Jade Lovelace 276add2cd7 repl: fix repl-overlays in pure eval mode
The reason this gets hit is because of the debugger in flakes. Otherwise
you never have a repl in pure mode anyway.

We evaluate the repl-overlay file in impure mode but this doesn't do
what one would initially expect.

Fixes: https://git.lix.systems/lix-project/lix/issues/777
Change-Id: I19b8ed2f5e9ce500b633b13301b42df69ab7deb3
2025-06-25 14:15:37 +00:00

10 lines
188 B
Plaintext

Checks that repl-overlays work correctly in pure eval mode
@args --pure-eval
@args --repl-overlays
@args ${PWD}/extra_data/repl-overlay-trivial.nix
nix-repl> foo
2
nix-repl> :quit