Fix nix shell by hardcoding the flakecompat library (#2196)
commitb0bceb5674717c2c9f2d3b4c5526107d1c084e31
authorJappie Klooster <jappieklooster@hotmail.com>
dateWed 20 Apr 2022, 10:55 (5 years ago)
parent9616477
shell.nix+5−2
@@ -1,6 +1,9 @@
11# Flake's devShell for non-flake-enabled nix instances
22let
3− src = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flakeCompat.locked;
4− compat = fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${src.rev}.tar.gz"; sha256 = src.narHash; };
3+ compat =
4+ builtins.fetchGit {
5+ url = "https://github.com/edolstra/flake-compat.git";
6+ rev = "b4a34015c698c7793d592d66adbab377907a2be8";
7+ };
58in
69(import compat { src = ./.; }).shellNix.default