From 3de1ccadba8724365a41d3da9bb9a045842a5c9f Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 14 Feb 2025 09:14:10 +0100 Subject: [PATCH] ci: add words to spell-checker:ignore --- flake.nix | 1 + util/build-gnu.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b0d95ef24..755b247de 100644 --- a/flake.nix +++ b/flake.nix @@ -1,3 +1,4 @@ +# spell-checker:ignore bintools gnum gperf ldflags libclang nixpkgs numtide pkgs texinfo { inputs = { nixpkgs.url = "github:nixos/nixpkgs"; diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 2fb9da018..c47e99889 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -2,7 +2,7 @@ # `build-gnu.bash` ~ builds GNU coreutils (from supplied sources) # -# spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW baddecode submodules xstrtol ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) gnproc greadlink gsed multihardlink texinfo +# spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW baddecode submodules xstrtol distros ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) gnproc greadlink gsed multihardlink texinfo set -e @@ -346,7 +346,7 @@ sed -i "s/color_code='0;31;42'/color_code='31;42'/" tests/ls/quote-align.sh # Slightly different error message sed -i 's/not supported/unexpected argument/' tests/mv/mv-exchange.sh # Most tests check that `/usr/bin/tr` is working correctly before running. -# However in NixOS/Nix-based distros, the tr coreutil is located somewhere in +# However in NixOS/Nix-based distros, the tr util is located somewhere in # /nix/store/xxxxxxxxxxxx...xxxx/bin/tr # We just replace the references to `/usr/bin/tr` with the result of `$(which tr)` sed -i 's/\/usr\/bin\/tr/$(which tr)/' tests/init.sh