Unverified Commit c9e01daf authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #273188 from SuperSandro2000/fzf-perl-locale

fzf: reduce closure size by just quieten perl instead of providing gl…
parents 8d8e2141 0ce537f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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