1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-13 13:36:08 +02:00
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