@@ -2,7 +2,7 @@
22, ... }:
33# The haskell.nix infrastructure
44#
5−# for hygenic reasons we'll use haskell-nix as a prefix.
5+# for hygienic reasons we'll use haskell-nix as a prefix.
66# Using haskell.nix in nix is awkward as I needs to be quoted.
77final: prev: {
88 haskell-nix = with final.haskell-nix; {
@@ -234,7 +234,7 @@ final: prev: {
234234 '';
235235
236236 # Some of features of haskell.nix rely on using a hackage index
237− # to calculate a build plan. To maintain stabity for caching and
237+ # to calculate a build plan. To maintain stability for caching and
238238 # to allow the outputs to be materialized we pin this value here.
239239 # If you want to update this value it important to check the
240240 # materializations. Turn `checkMaterialization` on below and
@@ -348,7 +348,7 @@ final: prev: {
348348 # stack-to-nix or plan-to-nix to prevent them
349349 # from needing network access.
350350 # The cache contains only local paths to nix files so that it can
351− # the results of `stack-to-nix` can be imported in restrected eval
351+ # the results of `stack-to-nix` can be imported in restricted eval
352352 # mode.
353353 mkCacheFile = repos:
354354 final.buildPackages.pkgs.runCommand "cache-file" {} ''
@@ -436,8 +436,8 @@ final: prev: {
436436 # from hackage. This is useful if you want to build an executable from
437437 # a given package.
438438 # NB: If no explicit index-state is provided the most recent one from
439− # the index-state-hashes is used. This guarantees reproducability wrt
440− # to the haskell.nix revision. If reproducability beyond haskell.nix
439+ # the index-state-hashes is used. This guarantees reproducibility wrt
440+ # to the haskell.nix revision. If reproducibility beyond haskell.nix
441441 # is required, a specific index-state should be provided!
442442 hackage-package =
443443 { name, compiler-nix-name, ... }@args':
@@ -567,9 +567,9 @@ final: prev: {
567567 # `projectFileName = "cabal.project";`
568568 # to let it know which to choose (or pick another name). If the
569569 # selected file ends in a `.yaml` it is assumed to be for `stackProject`.
570− # If niether `stack.yaml` nor `cabal.project` exist `cabalProject` is
570+ # If neither `stack.yaml` nor `cabal.project` exist `cabalProject` is
571571 # used (as it will use a default `cabal.project`).
572− project' = { src, projectFileName ? null, ... }@args':
572+ project' = { src, projectFileName ? null, ... }@args':
573573 let
574574 args = { caller = "project'"; } // args';
575575 dir = __readDir (src.origSrcSubDir or src);