1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-29 06:46:03 +02:00

Fix nix shell by hardcoding the flakecompat library (#2196)

This commit is contained in:
Jappie Klooster 2022-04-20 10:55:09 -04:00 committed by GitHub
parent 9616477197
commit b0bceb5674
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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