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