os/lib/compat/default.nix

22 lines
469 B
Nix
Raw Normal View History

let
2022-11-20 22:28:23 +00:00
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;
}
)
{
2022-11-20 22:28:23 +00:00
src = builtins.path {
path = ../../.;
name = "projectRoot";
};
};
in
2022-11-20 22:28:23 +00:00
flake