rustlings/shell.nix
Moritz Böhme 8e0f5bf125
feat: Add flake.nix for nix users
Co-authored-by: Winter <winter@winter.cafe>
2022-10-25 19:37:48 +02:00

7 lines
278 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