forked from mirrors/nixpkgs
Merge pull request #273188 from SuperSandro2000/fzf-perl-locale
fzf: reduce closure size by just quieten perl instead of providing gl…
This commit is contained in:
commit
c9e01dafc0
|
@ -8,7 +8,6 @@
|
|||
, bc
|
||||
, ncurses
|
||||
, perl
|
||||
, glibcLocales
|
||||
, testers
|
||||
, fzf
|
||||
}:
|
||||
|
@ -19,7 +18,7 @@ let
|
|||
# warnings on non-nixos machines
|
||||
ourPerl = if !stdenv.isLinux then perl else (
|
||||
writeShellScriptBin "perl" ''
|
||||
export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive"
|
||||
export PERL_BADLANG=0
|
||||
exec ${perl}/bin/perl "$@"
|
||||
'');
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue