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"
|
abort "disko config must be an existing file or flake must be set"
|
||||||
fi
|
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 \
|
script=$(nix-build "${libexec_dir}"/cli.nix \
|
||||||
--no-out-link \
|
--no-out-link \
|
||||||
--impure \
|
--impure \
|
||||||
|
|
|
@ -64,7 +64,7 @@ in
|
||||||
default = if partition.config.size == "100%" then "-0" else "+${partition.config.size}";
|
default = if partition.config.size == "100%" then "-0" else "+${partition.config.size}";
|
||||||
description = ''
|
description = ''
|
||||||
End of the partition, in sgdisk format.
|
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
|
or - for relative sizes from the disks end
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -50,9 +50,9 @@ in
|
||||||
config = lib.mkIf (cfg.devices.disk != { }) {
|
config = lib.mkIf (cfg.devices.disk != { }) {
|
||||||
system.build = (cfg.devices._scripts { inherit pkgs; checked = cfg.checkScripts; }) // {
|
system.build = (cfg.devices._scripts { inherit pkgs; checked = cfg.checkScripts; }) // {
|
||||||
|
|
||||||
# we keep this old outputs for compatibility
|
# we keep these old outputs for compatibility
|
||||||
disko = builtins.trace "the .disko output is deprecated, plase use .diskoScript instead" cfg.devices._scripts.diskoScript;
|
disko = builtins.trace "the .disko output is deprecated, please use .diskoScript instead" cfg.devices._scripts.diskoScript;
|
||||||
diskoNoDeps = builtins.trace "the .diskoNoDeps output is deprecated, plase use .diskoScriptNoDeps instead" cfg.devices._scripts.diskoScriptNoDeps;
|
diskoNoDeps = builtins.trace "the .diskoNoDeps output is deprecated, please use .diskoScriptNoDeps instead" cfg.devices._scripts.diskoScriptNoDeps;
|
||||||
|
|
||||||
installTest = diskoLib.testLib.makeDiskoTest {
|
installTest = diskoLib.testLib.makeDiskoTest {
|
||||||
inherit extendModules pkgs;
|
inherit extendModules pkgs;
|
||||||
|
|
Loading…
Reference in a new issue