rust-nix-template/default.nix
Sridhar Ratnakumar 4ff4c07906 nix autoformat etc
2021-04-08 21:27:32 -04:00

13 lines
320 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 = ./.;
}).defaultNix