infra/lib/compat/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
483 B
Nix
Raw Normal View History

2023-10-27 21:06:55 +00:00
let
2024-05-08 20:57:07 +00:00
lock = builtins.fromJSON (
builtins.readFile builtins.path {
path = ../../flake.lock;
name = "lockPath";
}
);
2023-10-27 21:06:55 +00:00
flake =
import
2024-05-08 20:57:07 +00:00
(fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
})
2023-10-27 21:06:55 +00:00
{
src = builtins.path {
path = ../../.;
name = "projectRoot";
};
2023-10-27 21:06:55 +00:00
};
in
flake