rust-nix-template/shell.nix
Sridhar Ratnakumar 28557e4f65 fmt
2021-04-06 23:42:49 -04:00

13 lines
318 B
Nix

(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