fzf: remove fzf-share helper

The fzf-share helper was added to help to find the shell scripts [1],
but since fzf≥0.48.0 the it's no longer needed because fzf has its shell
integration scripts embedded.

[1] https://github.com/NixOS/nixpkgs/pull/27709
This commit is contained in:
Mario Rodas 2024-04-07 04:20:00 +00:00
parent 7eeea20a85
commit 1035a9efdf
1 changed files with 0 additions and 9 deletions

View File

@ -3,7 +3,6 @@
, buildGoModule
, fetchFromGitHub
, writeShellScriptBin
, runtimeShell
, installShellFiles
, bc
, ncurses
@ -74,14 +73,6 @@ buildGoModule rec {
install -D plugin/* -t $out/share/vim-plugins/${pname}/plugin
mkdir -p $out/share/nvim
ln -s $out/share/vim-plugins/${pname} $out/share/nvim/site
cat <<SCRIPT > $out/bin/fzf-share
#!${runtimeShell}
# Run this script to find the fzf shared folder where all the shell
# integration scripts are living.
echo $out/share/fzf
SCRIPT
chmod +x $out/bin/fzf-share
'';
passthru.tests.version = testers.testVersion {