mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Initialize plugins after handling initial command line flags
This is technically a breaking change, since attempting to set plugin files after the first non-flag argument will now throw an error. This is acceptable given the relative lack of stability in a plugin interface and the need to tie the knot somewhere once plugins can actually define new subcommands.
This commit is contained in:
parent
ec3497c1d6
commit
98d1b64400
18 changed files with 36 additions and 22 deletions
7
doc/manual/src/release-notes/rl-2.4.md
Normal file
7
doc/manual/src/release-notes/rl-2.4.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Release 2.4 (202X-XX-XX)
|
||||
|
||||
- It is now an error to modify the `plugin-files` setting via a
|
||||
command-line flag that appears after the first non-flag argument
|
||||
to any command, including a subcommand to `nix`. For example,
|
||||
`nix-instantiate default.nix --plugin-files ""` must now become
|
||||
`nix-instantiate --plugin-files "" default.nix`.
|
Loading…
Add table
Add a link
Reference in a new issue