mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
corerad: add updateScript
This commit is contained in:
parent
06f6a156af
commit
4e6315a944
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, gitUpdater }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "corerad";
|
||||
@ -21,8 +21,11 @@ buildGoModule rec {
|
||||
ldflags+=" -X github.com/mdlayher/corerad/internal/build.linkTimestamp=$(<.gittagtime)"
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) corerad;
|
||||
passthru = {
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
tests = {
|
||||
inherit (nixosTests) corerad;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user