fzf: reduce closure size by just quieten perl instead of providing glibcLocales

This commit is contained in:
Sandro Jäckel 2023-12-09 20:55:49 +01:00
parent 8ba995cb30
commit 0ce537f0fa
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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