Simplify shell.nix

This commit is contained in:
Sridhar Ratnakumar 2023-06-26 15:34:09 -04:00
parent 7f20605d54
commit 87f82d390b

View file

@ -1,13 +1 @@
(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
(builtins.getFlake ("git+file://" + toString ./.)).devShells.${builtins.currentSystem}.default