diff --git a/pkgs/tools/misc/idutils/default.nix b/pkgs/tools/misc/idutils/default.nix index 0b77921e349..e1e4cf01ad3 100644 --- a/pkgs/tools/misc/idutils/default.nix +++ b/pkgs/tools/misc/idutils/default.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation rec { doCheck = true; + patches = [ ./nix-mapping.patch ]; + meta = { description = "GNU Idutils, a text searching utility"; diff --git a/pkgs/tools/misc/idutils/nix-mapping.patch b/pkgs/tools/misc/idutils/nix-mapping.patch new file mode 100644 index 00000000000..43e7439e2f6 --- /dev/null +++ b/pkgs/tools/misc/idutils/nix-mapping.patch @@ -0,0 +1,10 @@ +diff --git a/libidu/id-lang.map b/libidu/id-lang.map +index 7edb860..6dccd28 100644 +--- a/libidu/id-lang.map ++++ b/libidu/id-lang.map +@@ -92,3 +92,5 @@ Makefile.* make + + *.gz FILTER gzip -d <%s + *.Z FILTER gzip -d <%s ++ ++*.nix text