zsh-fzf-tab: add update script
This commit is contained in:
parent
344705ea5d
commit
adaa47a673
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
||||
{ stdenv, lib, fetchFromGitHub, ncurses, nix-update-script }:
|
||||
|
||||
let
|
||||
INSTALL_PATH="${placeholder "out"}/share/fzf-tab";
|
||||
|
@ -44,6 +44,12 @@ in stdenv.mkDerivation rec {
|
|||
install -D modules/Src/aloxaf/fzftab.so ${INSTALL_PATH}/modules/Src/aloxaf/fzftab.so
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version" "branch=master" ];
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Aloxaf/fzf-tab";
|
||||
description = "Replace zsh's default completion selection menu with fzf!";
|
||||
|
|
Loading…
Reference in New Issue
Block a user