2023-04-25 12:46:47 +00:00
|
|
|
let
|
|
|
|
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
|
|
|
|
flakeCompatRev = lock.nodes.flake-compat.locked.rev;
|
|
|
|
flakeCompat = fetchTarball {
|
2023-01-26 11:20:12 +00:00
|
|
|
url =
|
2023-04-25 12:46:47 +00:00
|
|
|
"https://github.com/edolstra/flake-compat/archive/${flakeCompatRev}.tar.gz";
|
|
|
|
sha256 = lock.nodes.flake-compat.locked.narHash;
|
2021-10-04 16:27:57 +00:00
|
|
|
};
|
2023-04-25 12:46:47 +00:00
|
|
|
flake = ((import flakeCompat) { src = ../.; }).defaultNix;
|
|
|
|
in rec {
|
|
|
|
pkgsSrc = flake.inputs.nixpkgs;
|
|
|
|
cargo2nix = flake.inputs.cargo2nix;
|
2022-10-13 12:35:39 +00:00
|
|
|
cargo2nixOverlay = cargo2nix.overlays.default;
|
2021-10-04 16:27:57 +00:00
|
|
|
}
|