Skip to content

Commit aeceb4d

Browse files
authored
chore: fix some minor issues in comments (#2419)
Signed-off-by: jishudashen <[email protected]>
1 parent 76bbec8 commit aeceb4d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

hix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let
5555
to work on haskell projects using nix without the need to add
5656
nix files to the project.
5757
58-
Any nix <command> that takes 'installables' as an argumnet should
58+
Any nix <command> that takes 'installables' as an argument should
5959
work and behave as if the project had a 'flake.nix' file that
6060
was set up to work with haskell.nix.
6161

lib/cabal-project-parser.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ let
128128
# This works in a similar way to the `source-repository-package` but we are
129129
# able to simply replace the `repository` blocks with local `file:/nix/store` ones.
130130
# This works because `cabal configure` does not include any of the `/nix/sore/`
131-
# paths in the `plan.json` (so materialized plan-nix will still work as expeced).
131+
# paths in the `plan.json` (so materialized plan-nix will still work as expected).
132132
# See tests/unit.nix for examples of input and output.
133133
parseRepositoryBlock = evalPackages: _cabalProjectFileName: sha256map: inputMap: nix-tools: block:
134134
let

lib/clean-cabal-component.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ in
115115
lib.any (d: lib.strings.hasPrefix (rPath + "/") d) dirsNeeded)
116116
|| traceReason "cabal package definition" (lib.strings.hasPrefix subDir rPath
117117
&& lib.strings.hasSuffix ".cabal" rPath)
118-
|| traceReason "hpack package defintion" (lib.strings.hasPrefix subDir rPath
118+
|| traceReason "hpack package definition" (lib.strings.hasPrefix subDir rPath
119119
&& rPath == "package.yaml")
120120
|| traceReason "data file" (lib.strings.hasPrefix dataDir rPath
121121
&& dataFileMatch rPath)

lib/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ in {
326326
};
327327

328328
# Run evalModules passing the project function argument (m) as a module along with
329-
# the the a projectType module (../modules/cabal-project.nix or ../modules/stack-project.nix).
329+
# the a projectType module (../modules/cabal-project.nix or ../modules/stack-project.nix).
330330
# The resulting config is then passed to the project function's implementation.
331331
evalProjectModule = projectType: m: f:
332332
let project = f

overlays/linux-cross.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let
2020
# in a 32bit linux (via qemu-arm user mode emulation). If we have
2121
# -pie enabled, it will produce a static-pie executable, which
2222
# seems a lot like what we want but will crash on launch. It appears
23-
# the the __stack_chk_guard lookups go through some lookup table, and
23+
# the __stack_chk_guard lookups go through some lookup table, and
2424
# while the relocations for the lookup table are correct, the __stack_chk_guard
2525
# address isn't properly relocated. This could also be because libc isn't
2626
# supposed to be staticlly linked really. However because we are lacking

0 commit comments

Comments
 (0)