From 1ac3777302a83db974dce66e5e1a0a709b924170 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 16 Oct 2023 17:17:33 +0300 Subject: [PATCH] Provide backup tarball URL in shell.nix Co-authored-by: Graham Christensen --- assets/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/shell.nix b/assets/shell.nix index 1c485cec..942ce016 100644 --- a/assets/shell.nix +++ b/assets/shell.nix @@ -2,7 +2,7 @@ ( let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in fetchTarball { - url = lock.nodes.flake-compat.locked.url; + url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; sha256 = lock.nodes.flake-compat.locked.narHash; } )