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