mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
fix: typos
This commit is contained in:
parent
43f17a8b31
commit
4015740375
3 changed files with 5 additions and 5 deletions
2
disko
2
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 \
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue