From 4a17fe59227f67d299737bf50c27137b5c7459b3 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 27 Mar 2021 12:05:54 -0400 Subject: [PATCH] fix(3p/lisp/puri): Use fetchgit for source, update version Something changed in the upstream we fetch this source from that's causing the fetch to fail - I can only assume it's a yanked rev, but I'm not really sure. fetchgit from nixpkgs appears to be a little bit more robust than builtins.fetchGit, so let's switch to that, and also upgrade to a rev that we know is present. Fixes: b/96 Change-Id: I8983c2df11ab4fa20f60915f950c6a7378efd2fd Reviewed-on: https://cl.tvl.fyi/c/depot/+/2691 Tested-by: BuildkiteCI Reviewed-by: sterni --- third_party/lisp/puri.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/third_party/lisp/puri.nix b/third_party/lisp/puri.nix index 51728c764..0d908af54 100644 --- a/third_party/lisp/puri.nix +++ b/third_party/lisp/puri.nix @@ -1,9 +1,10 @@ # Portable URI library { depot, ... }: -let src = builtins.fetchGit { +let src = depot.third_party.fetchgit { url = "http://git.kpe.io/puri.git"; - rev = "ef5afb9e5286c8e952d4344f019c1a636a717b97"; + rev = "4bbab89d9ccbb26346899d1f496c97604fec567b"; + sha256 = "0gq2rsr0aihs0z20v4zqvmdl4szq53b52rh97pvnmwrlbn4mapmd"; }; in depot.nix.buildLisp.library { name = "puri"; @@ -11,5 +12,3 @@ in depot.nix.buildLisp.library { (src + "/src.lisp") ]; } - -