mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
nix flake check: Warn about unknown flake outputs
This commit is contained in:
parent
9d1207c02c
commit
f2fcc163fa
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ struct CmdFlakeCheck : FlakeCommand, MixJSON
|
|||
else if (name == "defaultApp")
|
||||
checkApp(name, vProvide);
|
||||
|
||||
else
|
||||
warn("unknown flake output '%s'", name);
|
||||
|
||||
} catch (Error & e) {
|
||||
e.addPrefix(fmt("while checking flake output '" ANSI_BOLD "%s" ANSI_NORMAL "':\n", name));
|
||||
throw;
|
||||
|
|
Loading…
Reference in a new issue