deno2.nix/default.nix

15 lines
301 B
Nix
Raw Normal View History

2022-06-19 01:24:56 +00:00
(import
(
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
fetchTarball (with lock.nodes.flake-compat.locked; {
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
sha256 = narHash;
})
)
{
src = ./.;
})
.defaultNix