You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think "respecting" in this case should mean "failing with an error". It doesn't make sense to have an override-input when no flake is being passed on the command line. Note that with repl-flake experimental feature it does work correctly:
❯ nix repl --extra-experimental-features 'repl-flake' ./projects/nix --override-input nixpkgs ./projects/nixpkgs
Welcome to Nix 2.14.0pre20230213_c205d10. Type :? for help.
warning: Git tree '/home/balsoft/projects/nix' is dirty
warning: Git tree '/home/balsoft/projects/nixpkgs' is dirty
warning: not writing modified lock file of flake 'git+file:///home/balsoft/projects/nix':
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/04a75b2eecc0acf6239acf9dd04485ff8d14f425' (2022-12-08)
→ 'git+file:///home/balsoft/projects/nixpkgs' (2023-03-14)
Loading installable 'git+file:///home/balsoft/projects/nix#'...
Added 6 variables.
roberth
added
the
repl
The Read Eval Print Loop, "nix repl" command and debugger
label
Jul 9, 2023
Describe the bug
When
nix repl
is called with experimental featuresflakes
andnix-command
, it ignores the--override-input
argument.Steps To Reproduce
Expected behavior
nix repl
respecting--override-input
nix-env --version
outputnix-env (Nix) 2.13.1
Additional context
Add any other context about the problem here.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: