mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-05-11 01:55:57 +08:00
vendorHash: make it overridable
This commit is contained in:
parent
5fc5cddafd
commit
62a7c95c8c
3 changed files with 9 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, buildGoModule, path, pkgs, vendorSha256, go }:
|
||||
{ lib, buildGoModule, path, pkgs, vendorHash, go }:
|
||||
buildGoModule {
|
||||
pname = "sops-install-secrets";
|
||||
version = "0.0.1";
|
||||
|
|
@ -29,7 +29,7 @@ buildGoModule {
|
|||
fi
|
||||
'';
|
||||
|
||||
inherit vendorSha256;
|
||||
inherit vendorHash;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Atomic secret provisioning based on sops";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ buildGoModule, vendorSha256 }:
|
||||
{ buildGoModule, vendorHash }:
|
||||
|
||||
buildGoModule {
|
||||
name = "sops-pgp-hook-test";
|
||||
src = ../.;
|
||||
inherit vendorSha256;
|
||||
inherit vendorHash;
|
||||
buildPhase = ''
|
||||
go test -c ./pkgs/sops-pgp-hook
|
||||
install -D sops-pgp-hook.test $out/bin/sops-pgp-hook.test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue