about summary refs log tree commit diff
path: root/pkgs/tools/text/gnugrep/default.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2023-05-01 11:09:37 +0200
committerJanne Heß <janne@hess.ooo>2023-05-15 10:21:49 +0200
commit10396d0f86dc5f9edefda391bc2bae1c23d80b79 (patch)
tree0b3df8eb75b4b6e8e9116fa2e8359a546d149559 /pkgs/tools/text/gnugrep/default.nix
parent11c8f46850d0f56fa14c880db4e06fade3db2d67 (diff)
gnugrep: Add locales for tests
This brings the number of skipped tests down from 48 to 9.
Diffstat (limited to 'pkgs/tools/text/gnugrep/default.nix')
-rw-r--r--pkgs/tools/text/gnugrep/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix
index 992645a15db54..a4ee316937af4 100644
--- a/pkgs/tools/text/gnugrep/default.nix
+++ b/pkgs/tools/text/gnugrep/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, pcre2, libiconv, perl, autoreconfHook }:
+{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl, autoreconfHook }:
 
 # Note: this package is used for bootstrapping fetchurl, and thus
 # cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
     hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs=";
   };
 
-  nativeCheckInputs = [ perl ];
+  nativeCheckInputs = [ perl glibcLocales ];
   outputs = [ "out" "info" ]; # the man pages are rather small
 
   buildInputs = [ pcre2 libiconv ];