summaryrefslogtreecommitdiff
path: root/default.nix
blob: 9d62c958d39e504ea37165854baf6e08b70f0905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let
  inherit (import
    (
      let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
      fetchTarball {
        url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
        sha256 = lock.nodes.flake-compat.locked.narHash;
      }
    )
    { src = ./.; }
  ) defaultNix;
in
  # Pass this flake as inputs.self
  defaultNix // { inputs = defaultNix.inputs // { self = defaultNix; }; }