fzf: reduce closure size by just quieten perl instead of providing glibcLocales
This commit is contained in:
parent
8ba995cb30
commit
0ce537f0fa
1 changed files with 1 additions and 2 deletions
|
@ -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