deno2.nix/shell.nix
2022-06-19 10:24:56 +09:00

15 lines
299 B
Nix

(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 = ./.;
})
.shellNix