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 <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2022-05-09 16:05:05 +02:00 committed by clbot
parent 93bfcc9702
commit 2cf6acc160

View file

@ -1,9 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
let let
commit = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29"; src = pkgs.fetchFromGitHub {
src = builtins.fetchTarball { owner = "ryantm";
url = "https://github.com/ryantm/agenix/archive/${commit}.tar.gz"; repo = "agenix";
rev = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29";
sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx"; sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx";
}; };
agenix = import src { agenix = import src {