Skip to content

Commit 1ac3777

Browse files
lucperkinsgrahamc
andauthored
Provide backup tarball URL in shell.nix
Co-authored-by: Graham Christensen <[email protected]>
1 parent 5f70849 commit 1ac3777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/shell.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(
33
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
44
fetchTarball {
5-
url = lock.nodes.flake-compat.locked.url;
5+
url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
66
sha256 = lock.nodes.flake-compat.locked.narHash;
77
}
88
)

0 commit comments

Comments
 (0)