about summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-17 18:59:29 -0500
committerfigsoda <figsoda@pm.me>2022-12-17 18:59:29 -0500
commit695d4bc76b9abdc3208a9475d71fdf0f41e925c8 (patch)
tree9bbe272e46db35fceaaec271112d458cc84c98e4 /lib/systems
parent403e25e3e31319146c3e6ab478485a9c33efa07f (diff)
lib: fix typos
Diffstat (limited to 'lib/systems')
-rw-r--r--lib/systems/architectures.nix2
-rw-r--r--lib/systems/default.nix4
-rw-r--r--lib/systems/flake-systems.nix2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/systems/architectures.nix b/lib/systems/architectures.nix
index ddc320d24e0a0..94127fa90b351 100644
--- a/lib/systems/architectures.nix
+++ b/lib/systems/architectures.nix
@@ -67,7 +67,7 @@ rec {
     #
     # Note:
     #
-    # - The succesors of `skylake` (`cannonlake`, `icelake`, etc) use `avx512`
+    # - The successors of `skylake` (`cannonlake`, `icelake`, etc) use `avx512`
     #   which no current AMD Zen michroarch support.
     # - `znver1` uses `ABM`, `CLZERO`, `CX16`, `MWAITX`, and `SSE4A` which no
     #   current Intel microarch support.
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index ca5186ca47680..4c1e9d9f25364 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -20,7 +20,7 @@ rec {
   # necessary.
   #
   # `parsed` is inferred from args, both because there are two options with one
-  # clearly prefered, and to prevent cycles. A simpler fixed point where the RHS
+  # clearly preferred, and to prevent cycles. A simpler fixed point where the RHS
   # always just used `final.*` would fail on both counts.
   elaborate = args': let
     args = if lib.isString args' then { system = args'; }
@@ -62,7 +62,7 @@ rec {
       linker =
         /**/ if final.useLLVM or false      then "lld"
         else if final.isDarwin              then "cctools"
-        # "bfd" and "gold" both come from GNU binutils. The existance of Gold
+        # "bfd" and "gold" both come from GNU binutils. The existence of Gold
         # is why we use the more obscure "bfd" and not "binutils" for this
         # choice.
         else                                     "bfd";
diff --git a/lib/systems/flake-systems.nix b/lib/systems/flake-systems.nix
index 74124c32e8369..b1988c6a4fbb0 100644
--- a/lib/systems/flake-systems.nix
+++ b/lib/systems/flake-systems.nix
@@ -1,6 +1,6 @@
 # See [RFC 46] for mandated platform support and ../../pkgs/stdenv for
 # implemented platform support. This list is mainly descriptive, i.e. all
-# system doubles for platforms where nixpkgs can do native compiliation
+# system doubles for platforms where nixpkgs can do native compilation
 # reasonably well are included.
 #
 # [RFC 46]: https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md