repl: clarify change and usage of <nixpkgs>

This commit is contained in:
Tom Bereknyei 2022-05-20 01:49:49 -04:00
parent 542e36c6e7
commit 82c4af41e3

View file

@ -28,4 +28,4 @@
* `nix repl` now takes installables on the command line, unifying the usage * `nix repl` now takes installables on the command line, unifying the usage
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 nixpkgs` or `nix repl --expr 'import <nixpkgs>{}'` `nix repl --file '<nixpkgs>'` or `nix repl --expr 'import <nixpkgs>{}'`