mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
carapace: add updateScript
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
carapace,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
@@ -33,6 +34,7 @@ buildGoModule (finalAttrs: {
|
||||
GOOS= GOARCH= go generate ./...
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.tests.version = testers.testVersion { package = carapace; };
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user