summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 5c5a774e78d033830f144847d38bef2578d1584e (plain) (blame)
1
2
3
4
5
6
# 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