From 3b2e19fe7c667a4fb2da3d6bb5ae6ee3e3552f74 Mon Sep 17 00:00:00 2001 From: Felix Uhl Date: Mon, 14 Oct 2024 11:49:11 +0200 Subject: [PATCH] disko cli: fix misleading error message Found this while trying to repro #523 --- cli.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.nix b/cli.nix index 9998219..3203ced 100644 --- a/cli.nix +++ b/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