about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 {