mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
fix: ensure apps are apps and packages are packages
This commit is contained in:
parent
646af7325d
commit
9b41239d8f
4 changed files with 43 additions and 0 deletions
|
@ -40,3 +40,7 @@
|
|||
|
||||
As before, the old output will continue to work, but `nix flake check` will
|
||||
issue a warning about it.
|
||||
|
||||
* `nix run` is now stricter wrt what it accepts:
|
||||
* Members of `apps` are now required to be apps (as defined in [the manual](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-run.html#apps))
|
||||
* Member of `packages` or `legacyPackages` cannot be of type "app" when used by `nix run`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue