Skip to content

Commit

Permalink
veilid: add updateScript
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Aug 24, 2024
1 parent d0e1602 commit 2e73274
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/tools/networking/veilid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
, cmake
, testers
, veilid
, gitUpdater
}:

rustPlatform.buildRustPackage rec {
Expand Down Expand Up @@ -54,9 +55,12 @@ rustPlatform.buildRustPackage rec {
moveToOutput "lib" "$lib"
'';

passthru.tests = {
veilid-version = testers.testVersion {
package = veilid;
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
veilid-version = testers.testVersion {
package = veilid;
};
};
};

Expand Down

0 comments on commit 2e73274

Please sign in to comment.