about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-09T13·55+0200
committerclbot <clbot@tvl.fyi>2022-05-10T08·08+0000
commit93bfcc970244d377315ae806dc31857ef7862e08 (patch)
treefb385ea8177049e0efd2947fba76e096335ff200 /third_party
parent36ca3854739a66f32d099e53563397d5c3db4143 (diff)
chore(3p/overlays): Use pkgs.fetchFromGitHub for Nix source r/4036
It costs me money and time to use uncacheable builtin fetchers.

Change-Id: I0241cdecbc79e7135765ab4f4c49b4b2c9985d2e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5548
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/overlays/tvl.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix
index 4997e97c50..fbc48e1565 100644
--- a/third_party/overlays/tvl.nix
+++ b/third_party/overlays/tvl.nix
@@ -6,11 +6,14 @@ self: super:
 let
   # Rollback Nix to a stable version (2.3) with backports for
   # build-user problems applied.
-  nixSrc = builtins.fetchGit {
-    url = "https://github.com/tvlfyi/nix.git";
-    ref = "2.3-backport-await-users";
-    #hash = "sha256:0jnwrzxh04d0pyhx4n8fg4w1w6ak48byl5k2i8j7fk4h9vd9649k";
-  };
+  nixSrc = self.fetchFromGitHub
+    {
+      owner = "tvlfyi";
+      repo = "nix";
+      # branch 2.3-backport-await-users
+      rev = "880a62b08443a6baa55dab027b69bb8b1551a588";
+      hash = "sha256:0jnwrzxh04d0pyhx4n8fg4w1w6ak48byl5k2i8j7fk4h9vd9649k";
+    } // { revCount = 0; shortRev = "880a62b0"; };
 in
 {
   nix = (import "${nixSrc}/release.nix" {