diff options
author | Austin Seipp <aseipp@pobox.com> | 2022-12-30 02:36:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 18:36:17 +1000 |
commit | e74582c9ffeabe2284a95938463c40286ff2cc2c (patch) | |
tree | ab4df1712e4c0eed719d455976f31a0f7bc72ff0 /pkgs/tools/misc/fzf | |
parent | 99195d6c058ea642c5f6bd816a470084d6c1b7ab (diff) |
fzf: minor code tweaks (#208323)
Suggested by zowoq in #207078. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/misc/fzf')
-rw-r--r-- | pkgs/tools/misc/fzf/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index bf1884d311ee1..16d9aab423aa4 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -1,9 +1,9 @@ { stdenv , lib -, pkgs , buildGoModule , fetchFromGitHub , writeText +, writeShellScriptBin , runtimeShell , installShellFiles , ncurses @@ -16,8 +16,7 @@ let # so that using the shell completion (ctrl+r, etc) doesn't result in ugly # warnings on non-nixos machines ourPerl = if stdenv.isDarwin then perl else ( - pkgs.writers.writeBashBin "perl" '' - #!${pkgs.runtimeShell} + writeShellScriptBin "perl" '' export LOCALE_ARCHIVE="${glibcLocales}/lib/locale/locale-archive" exec ${perl}/bin/perl "$@" ''); |