summary refs log tree commit diff
path: root/compat/flake-compat.nix
blob: ac56432bdf938395abbccc131cc08541801802f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
with builtins;
let
  lock = fromJSON (readFile ../flake.lock);
  
  flake-compat = builtins.fetchGit (with lock.nodes.flake-compat.locked; {
    inherit rev;
    url = "https://github.com/${owner}/${repo}.git";
  });

in
{ src, ... }: import flake-compat { inherit src; }