disko cli: fix misleading error message
Found this while trying to repro #523
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user