Skip to content

Commit 94ee160

Browse files
authored
chore: fix some typos in comment (#2286)
Signed-off-by: hongkuang <[email protected]>
1 parent 68c7b45 commit 94ee160

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

overlays/haskell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ final: prev: {
353353
# urls there will allow us to know from where to fetch the packages tarballs at build
354354
# time.
355355
# 3. We don't want to leak the nix path of the index into the derivation of the component
356-
# builder since this will cause unnecesary recompilation. In other words, the recipe to
356+
# builder since this will cause unnecessary recompilation. In other words, the recipe to
357357
# compile a package has to only depend on its content, not on where the recipe is from
358358
# or how it is obtained.
359359
#

overlays/musl.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
3333
# See https://github.com/input-output-hk/haskell.nix/issues/948
3434
postgresql = (prev.postgresql.overrideAttrs (_old: {
3535
dontDisableStatic = true;
36-
# the following is needed becuase libicu links against stdc++
36+
# the following is needed because libicu links against stdc++
3737
NIX_LDFLAGS = "--push-state --as-needed -lstdc++ --pop-state";
3838
# without this collate.icu.utf8, and foreign_data will fail.
3939
LC_CTYPE = "C";

test/githash/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let
4242

4343
in recurseIntoAttrs {
4444
# githash runs git from TH code and this needs a cross compiled git exe
45-
# to work correctly. Cross compiling git is currently brocken.
45+
# to work correctly. Cross compiling git is currently broken.
4646
meta.disabled = __elem compiler-nix-name ["ghc901" "ghc902"] || haskellLib.isCrossHost ||
4747
# TODO find out why TH fails for this
4848
(__elem compiler-nix-name ["ghc927" "ghc928"] && stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl);

0 commit comments

Comments
 (0)