diff options
author | Aidan Gauland <aidalgol@fastmail.net> | 2022-11-25 18:33:01 +1300 |
---|---|---|
committer | Aidan Gauland <aidalgol@fastmail.net> | 2022-11-25 18:33:01 +1300 |
commit | 45ccb6df0e29f9cc474c62e86edb6028952fe2fe (patch) | |
tree | 42bcf68f45b343c5071daca6818e420d7c861b9f /pkgs/applications/editors/lapce | |
parent | 47d50d7842aa0fb0b5f8a47a95c35939824951e0 (diff) |
lapce: Add passthru.updateScript
Diffstat (limited to 'pkgs/applications/editors/lapce')
-rw-r--r-- | pkgs/applications/editors/lapce/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/editors/lapce/default.nix b/pkgs/applications/editors/lapce/default.nix index 080383b090e7a..3f874f896a4ec 100644 --- a/pkgs/applications/editors/lapce/default.nix +++ b/pkgs/applications/editors/lapce/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, gitUpdater , rustPlatform , cmake , pkg-config @@ -75,6 +76,10 @@ rustPlatform.buildRustPackage rec { categories = [ "Development" "Utility" "TextEditor" ]; }) ]; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = with lib; { description = "Lightning-fast and Powerful Code Editor written in Rust"; homepage = "https://github.com/lapce/lapce"; |