diff options
author | Jappie Klooster | 2022-04-20 14:55:09 +0000 |
---|---|---|
committer | GitHub | 2022-04-20 14:55:09 +0000 |
commit | b0bceb5674717c2c9f2d3b4c5526107d1c084e31 (patch) | |
tree | a9c1bba3712d2202081d467a6da86cec18413085 | |
parent | 961647719769e6b2baa8ae74630c16ab8963fa61 (diff) |
Fix nix shell by hardcoding the flakecompat library (#2196)
-rw-r--r-- | shell.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |