From 2cf6acc16038730eb933c9a06d13522ba0ad1c1b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 9 May 2022 16:05:05 +0200 Subject: chore(3p/agenix): Use pkgs.fetchFromGitHub for agenix source It costs me money and time to use uncacheable builtin fetchers. Change-Id: Ie38923667cc6ac54ee85701088c9a5245ccf1c25 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5549 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: tazjin --- third_party/agenix/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'third_party') diff --git a/third_party/agenix/default.nix b/third_party/agenix/default.nix index 96afbe16994a..cc7dfd90fb65 100644 --- a/third_party/agenix/default.nix +++ b/third_party/agenix/default.nix @@ -1,9 +1,10 @@ { pkgs, ... }: let - commit = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; - src = builtins.fetchTarball { - url = "https://github.com/ryantm/agenix/archive/${commit}.tar.gz"; + src = pkgs.fetchFromGitHub { + owner = "ryantm"; + repo = "agenix"; + rev = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx"; }; agenix = import src { -- cgit 1.4.1