Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kenji authored and mergify[bot] committed Jul 30, 2023
1 parent 43f17a8 commit 4015740
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion disko
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion lib/types/gpt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
};
Expand Down
6 changes: 3 additions & 3 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4015740

Please sign in to comment.