From 010527b7d56a6b2c7064b89dfd3e8857b87da3bd Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 2 Sep 2025 21:47:47 -0700 Subject: [PATCH] pkgs/build-support: fix typos --- pkgs/build-support/cc-wrapper/default.nix | 2 +- pkgs/build-support/fetchhg/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 346a7d64222f..98013dd63c0f 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -676,7 +676,7 @@ stdenvNoCC.mkDerivation { # # Unfortunately, setting -B appears to override the default search # path. Thus, the gcc-specific "../includes-fixed" directory is - # now longer searched and glibc's header fails to + # no longer searched and glibc's header fails to # compile, because it uses "#include_next " to find the # limits.h file in ../includes-fixed. To remedy the problem, # another -idirafter is necessary to add that directory again. diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix index 45319bad3f68..7f4ed2ff3e8c 100644 --- a/pkgs/build-support/fetchhg/default.nix +++ b/pkgs/build-support/fetchhg/default.nix @@ -18,7 +18,7 @@ lib.extendMkDerivation { fetchSubrepos ? false, preferLocalBuild ? true, }: - # TODO: statically check if mercurial as the https support if the url starts with https. + # TODO: statically check if mercurial has https support if the url starts with https. { name = "hg-archive" + (lib.optionalString (name != null) "-${name}"); builder = ./builder.sh;