about summary refs log tree commit diff
path: root/third_party/agenix/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-09T14·05+0200
committerclbot <clbot@tvl.fyi>2022-05-10T08·08+0000
commit2cf6acc16038730eb933c9a06d13522ba0ad1c1b (patch)
tree3c1880597a4af906ac50c3fa15ece08209d97b89 /third_party/agenix/default.nix
parent93bfcc970244d377315ae806dc31857ef7862e08 (diff)
chore(3p/agenix): Use pkgs.fetchFromGitHub for agenix source r/4037
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>
Diffstat (limited to 'third_party/agenix/default.nix')
-rw-r--r--third_party/agenix/default.nix7
1 files changed, 4 insertions, 3 deletions
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 {