sops: add update script
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sops";
|
||||
@@ -17,6 +17,8 @@ buildGoModule rec {
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/getsops/sops/v3/version.Version=${version}" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/getsops/sops";
|
||||
description = "Simple and flexible tool for managing secrets";
|
||||
|
||||
Reference in New Issue
Block a user