helix/shell.nix

7 lines
324 B
Nix
Raw Normal View History

# 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; };
in
(import compat { src = ./.; }).shellNix.default