From 87ad35e336bcaefc0254c01d76c5e2356c315e43 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Sun, 20 Mar 2016 20:03:18 +0000 Subject: [PATCH] Fix comments typos. --- pkgs/top-level/aliases.nix | 2 +- pkgs/top-level/default.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c0b93335c80d..b9f072e6ca6b 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -3,7 +3,7 @@ self: with self; let - # Removind recurseForDerivation prevents derivations of aliased attribute + # Removing recurseForDerivation prevents derivations of aliased attribute # set to appear while listing all the packages available. removeRecurseForDerivations = _n: alias: with lib; if alias.recurseForDerivations or false then diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index 61fd39f8ca5e..4de75c2ed57e 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -88,11 +88,11 @@ let crossSystem platform lib; }; - # Allow packages to be overriden globally via the `packageOverrides' + # Allow packages to be overridden globally via the `packageOverrides' # configuration option, which must be a function that takes `pkgs' - # as an argument and returns a set of new or overriden packages. + # as an argument and returns a set of new or overridden packages. # The `packageOverrides' function is called with the *original* - # (un-overriden) set of packages, allowing packageOverrides + # (un-overridden) set of packages, allowing packageOverrides # attributes to refer to the original attributes (e.g. "foo = # ... pkgs.foo ..."). pkgs = pkgsWithOverrides (self: config.packageOverrides or (super: {})); @@ -122,11 +122,11 @@ let aliases = self: super: import ./aliases.nix super; # stdenvOverrides is used to avoid circular dependencies for building - # the standard build environment. This mechanism use the override + # the standard build environment. This mechanism uses the override # mechanism to implement some staged compilation of the stdenv. # # We don't want stdenv overrides in the case of cross-building, or - # otherwise the basic overrided packages will not be built with the + # otherwise the basic overridden packages will not be built with the # crossStdenv adapter. stdenvOverrides = self: super: lib.optionalAttrs (crossSystem == null && super.stdenv ? overrides)