blog/shell.nix

15 lines
319 B
Nix
Raw Normal View History

2022-06-25 09:14:15 +01:00
(import
(
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";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{
src = ./.;
}).shellNix
2022-06-25 08:47:06 +01:00