From 87f82d390b8d496687c6e6565e0ab9a6a5e3a019 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 26 Jun 2023 15:34:09 -0400 Subject: [PATCH] Simplify shell.nix --- shell.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/shell.nix b/shell.nix index 9eb132a..8745f50 100644 --- a/shell.nix +++ b/shell.nix @@ -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