Apply suggestions from code review
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
parent
ffd41d1757
commit
dae4a8a6c8
2 changed files with 3 additions and 1 deletions
|
@ -7,3 +7,5 @@
|
||||||
with other commands that use `--file` and `--expr`. Primary breaking change
|
with other commands that use `--file` and `--expr`. Primary breaking change
|
||||||
is for the common usage of `nix repl '<nixpkgs>'` which can be recovered with
|
is for the common usage of `nix repl '<nixpkgs>'` which can be recovered with
|
||||||
`nix repl --file '<nixpkgs>'` or `nix repl --expr 'import <nixpkgs>{}'`
|
`nix repl --file '<nixpkgs>'` or `nix repl --expr 'import <nixpkgs>{}'`
|
||||||
|
|
||||||
|
This is currently guarded by the 'repl-flake' experimental feature
|
||||||
|
|
|
@ -36,7 +36,7 @@ R""(
|
||||||
Loading Installable ''...
|
Loading Installable ''...
|
||||||
Added 1 variables.
|
Added 1 variables.
|
||||||
|
|
||||||
# nix repl nixpkgs
|
# nix repl --extra_experimental_features 'flakes repl-flake' nixpkgs
|
||||||
Loading Installable 'flake:nixpkgs#'...
|
Loading Installable 'flake:nixpkgs#'...
|
||||||
Added 5 variables.
|
Added 5 variables.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue