From b0bceb5674717c2c9f2d3b4c5526107d1c084e31 Mon Sep 17 00:00:00 2001 From: Jappie Klooster Date: Wed, 20 Apr 2022 10:55:09 -0400 Subject: Fix nix shell by hardcoding the flakecompat library (#2196) --- shell.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index 5c5a774e..c0d998e3 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,9 @@ # Flake's devShell for non-flake-enabled nix instances let - src = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flakeCompat.locked; - compat = fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${src.rev}.tar.gz"; sha256 = src.narHash; }; + compat = + builtins.fetchGit { + url = "https://github.com/edolstra/flake-compat.git"; + rev = "b4a34015c698c7793d592d66adbab377907a2be8"; + }; in (import compat { src = ./.; }).shellNix.default -- cgit v1.2.3-70-g09d2