mirror of
https://github.com/nix-community/disko
synced 2024-11-14 16:17:06 +00:00
disko cli: fix misleading error message
Found this while trying to repro #523
This commit is contained in:
parent
b6215392ec
commit
3b2e19fe7c
1 changed files with 1 additions and 1 deletions
2
cli.nix
2
cli.nix
|
@ -64,7 +64,7 @@ let
|
|||
else if (lib.traceValSeq hasDiskoModuleFlake) then
|
||||
(builtins.getFlake flake).nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr}
|
||||
else
|
||||
(builtins.abort "neither diskoConfigurations.${flakeAttr} nor nixosConfigurations.${flakeAttr} found");
|
||||
(builtins.abort "couldn't find `diskoConfigurations.${flakeAttr}` or `nixosConfigurations.${flakeAttr}.config.disko.devices`");
|
||||
|
||||
in
|
||||
diskoScript
|
||||
|
|
Loading…
Reference in a new issue