diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2020-12-02 17:23:54 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2020-12-02 17:23:54 +0100 |
commit | 26b2ced5066cec2963b4bba78d5cb6a69e6626ba (patch) | |
tree | 51990ecba210a170bd8a115c8493f1b5b19ba5ed /pkgs/tools/misc/cht.sh/default.nix | |
parent | ff8e2db0cf6137bd6fdeb1b963fdb4f5d0b666c7 (diff) |
cht-sh: use unstableGitUpdater
Diffstat (limited to '')
-rw-r--r-- | pkgs/tools/misc/cht.sh/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/cht.sh/default.nix b/pkgs/tools/misc/cht.sh/default.nix index 1c38e7c3b8f5..ceef26b577d6 100644 --- a/pkgs/tools/misc/cht.sh/default.nix +++ b/pkgs/tools/misc/cht.sh/default.nix @@ -1,5 +1,6 @@ { stdenv , fetchFromGitHub +, unstableGitUpdater , makeWrapper , curl , ncurses @@ -35,6 +36,8 @@ stdenv.mkDerivation { --prefix PATH : "${stdenv.lib.makeBinPath [ curl rlwrap ncurses xsel ]}" ''; + passthru.updateScript = unstableGitUpdater { }; + meta = with stdenv.lib; { description = "CLI client for cheat.sh, a community driven cheat sheet"; license = licenses.mit; @@ -42,4 +45,3 @@ stdenv.mkDerivation { homepage = "https://github.com/chubin/cheat.sh"; }; } - |