From 03d198631645ba3013e6e16bdf26a327cd51ccf7 Mon Sep 17 00:00:00 2001 From: sterni Date: Sun, 22 May 2022 23:51:49 +0200 Subject: feat(3p/agenix): update to 2022-05-16 and add to niv The new version brings the new secretsDir setting which means we no longer have to hardcode /run/agenix everywhere. Change-Id: I4b579d7233d315a780d7671869d5d06722d769fa Reviewed-on: https://cl.tvl.fyi/c/depot/+/5646 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: grfn Autosubmit: sterni --- third_party/agenix/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'third_party/agenix') diff --git a/third_party/agenix/default.nix b/third_party/agenix/default.nix index cc7dfd90fb65..f80dda512c5b 100644 --- a/third_party/agenix/default.nix +++ b/third_party/agenix/default.nix @@ -1,12 +1,8 @@ -{ pkgs, ... }: +{ pkgs, depot, ... }: let - src = pkgs.fetchFromGitHub { - owner = "ryantm"; - repo = "agenix"; - rev = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; - sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx"; - }; + src = depot.third_party.sources.agenix; + agenix = import src { inherit pkgs; }; -- cgit 1.4.1