mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-14 04:06:57 +03:00
7 lines
324 B
Nix
7 lines
324 B
Nix
# 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
|