infra/lib/compat/default.nix
teutat3s 2ca0bd7c3e
All checks were successful
Flake checks / Check (pull_request) Successful in 2m36s
style: run treefmt
2024-05-08 22:57:07 +02:00

22 lines
483 B
Nix

let
lock = builtins.fromJSON (
builtins.readFile builtins.path {
path = ../../flake.lock;
name = "lockPath";
}
);
flake =
import
(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 = builtins.path {
path = ../../.;
name = "projectRoot";
};
};
in
flake