fix: typos

This commit is contained in:
a-kenji 2023-07-30 19:12:24 +02:00 committed by mergify[bot]
parent 43f17a8b31
commit 4015740375
3 changed files with 5 additions and 5 deletions

2
disko
View File

@ -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 \

View File

@ -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
'';
};

View File

@ -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;