Skip to content

Commit

Permalink
Use FlakeHub URLs for flake-compat tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Oct 16, 2023
1 parent 1c46c6a commit 5aaf93b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = lock.nodes.flake-compat.locked.url or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
url = lock.nodes.flake-compat.locked.url;
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
Expand Down
2 changes: 1 addition & 1 deletion assets/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
url = lock.nodes.flake-compat.locked.url;
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
Expand Down

0 comments on commit 5aaf93b

Please sign in to comment.