mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
fzf: reduce closure size by just quieten perl instead of providing glibcLocales
This commit is contained in:
parent
8ba995cb30
commit
0ce537f0fa
@ -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 New Issue
Block a user