Cherry picked from 260194193c in staging as suggested by https://github.com/NixOS/nixpkgs/pull/38763#issuecomment-380504142.
260194193c
This reverts commit 5d65b4ebeb, because it broke git-add. See https://github.com/NixOS/nixpkgs/pull/38636#issuecomment-380182555 for details.
5d65b4ebeb
A better implementation of 5273dbf530 Fixes https://github.com/NixOS/nixpkgs/issues/13150 The attached patch removes a whole swath of unnecessary runtime gettext detection. It also adds gettext on the PATH so that git-rebase can find it.
5273dbf530