on master help sign in
Fix nix shell by hardcoding the flakecompat library (#2196)
b0bceb5Jappie Klooster
shell.nix+5−2
@@ -1,6 +1,9 @@
1# Flake's devShell for non-flake-enabled nix instances
1# Flake's devShell for non-flake-enabled nix instances
2let
2let
3− src = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flakeCompat.locked;
3+ compat =
4+ builtins.fetchGit {
4− compat = fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${src.rev}.tar.gz"; sha256 = src.narHash; };
5+ url = "https://github.com/edolstra/flake-compat.git";
6+ rev = "b4a34015c698c7793d592d66adbab377907a2be8";
7+ };
5in
8in
6(import compat { src = ./.; }).shellNix.default
9(import compat { src = ./.; }).shellNix.default