diff --git a/disko b/disko index 1f0131a..d2eb3f6 100755 --- a/disko +++ b/disko @@ -119,7 +119,7 @@ else abort "disko config must be an existing file or flake must be set" fi -# The "--impure" is still pure, as the path is withing the nix store. +# The "--impure" is still pure, as the path is within the nix store. script=$(nix-build "${libexec_dir}"/cli.nix \ --no-out-link \ --impure \ diff --git a/lib/types/gpt.nix b/lib/types/gpt.nix index 35ca347..d7d6fe4 100644 --- a/lib/types/gpt.nix +++ b/lib/types/gpt.nix @@ -64,7 +64,7 @@ in default = if partition.config.size == "100%" then "-0" else "+${partition.config.size}"; description = '' End of the partition, in sgdisk format. - Use + for relative sizes from the partitons start + Use + for relative sizes from the partitions start or - for relative sizes from the disks end ''; }; diff --git a/module.nix b/module.nix index c2aa8f3..a8ccae5 100644 --- a/module.nix +++ b/module.nix @@ -50,9 +50,9 @@ in config = lib.mkIf (cfg.devices.disk != { }) { system.build = (cfg.devices._scripts { inherit pkgs; checked = cfg.checkScripts; }) // { - # we keep this old outputs for compatibility - disko = builtins.trace "the .disko output is deprecated, plase use .diskoScript instead" cfg.devices._scripts.diskoScript; - diskoNoDeps = builtins.trace "the .diskoNoDeps output is deprecated, plase use .diskoScriptNoDeps instead" cfg.devices._scripts.diskoScriptNoDeps; + # we keep these old outputs for compatibility + disko = builtins.trace "the .disko output is deprecated, please use .diskoScript instead" cfg.devices._scripts.diskoScript; + diskoNoDeps = builtins.trace "the .diskoNoDeps output is deprecated, please use .diskoScriptNoDeps instead" cfg.devices._scripts.diskoScriptNoDeps; installTest = diskoLib.testLib.makeDiskoTest { inherit extendModules pkgs;