[fix] added missing single quote in script

This commit is contained in:
Torsten Curdt
2025-04-27 23:55:01 +02:00
committed by Michael Hoang
parent ca27b88c88
commit d0c543d740

View File

@@ -108,7 +108,7 @@ let
else if hasDiskoModuleFlake then else if hasDiskoModuleFlake then
(builtins.getFlake flake).nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr} (builtins.getFlake flake).nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr}
or (pkgs.writeShellScriptBin "disko-compat-error" '' or (pkgs.writeShellScriptBin "disko-compat-error" ''
echo 'Error: Attribute `nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr}` >&2 echo 'Error: Attribute `nixosConfigurations.${flakeAttr}.config.system.build.${diskoAttr}`' >&2
echo ' not found in flake `${flake}`!' >&2 echo ' not found in flake `${flake}`!' >&2
echo ' This is probably caused by the locked version of disko in the flake' >&2 echo ' This is probably caused by the locked version of disko in the flake' >&2
echo ' being different from the version of disko you executed.' >&2 echo ' being different from the version of disko you executed.' >&2