1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-03-05 08:07:16 +00:00
sops-nix/pkgs/sops-pgp-hook-test.nix

12 lines
239 B
Nix
Raw Permalink Normal View History

2023-07-15 08:19:01 +02:00
{ buildGoModule, vendorHash }:
2022-05-15 07:48:48 +02:00
buildGoModule {
name = "sops-pgp-hook-test";
src = ../.;
2023-07-15 08:19:01 +02:00
inherit vendorHash;
2022-05-15 07:48:48 +02:00
buildPhase = ''
go test -c ./pkgs/sops-pgp-hook
install -D sops-pgp-hook.test $out/bin/sops-pgp-hook.test
'';
}