2024-10-21 21:31:19 +00:00
|
|
|
let
|
|
|
|
lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
|
|
nixpkgs = builtins.fetchTarball {
|
|
|
|
url = "";
|
|
|
|
sha256 = lockFile.nodes.nixpkgs.locked.narHash;
|
|
|
|
};
|
|
|
|
lix = builtins.fetchTarball {
|
|
|
|
url = "";
|
|
|
|
sha256 = lockFile.nodes.lix.locked.narHash;
|
|
|
|
};
|
|
|
|
lix-module = builtins.fetchTarball {
|
|
|
|
url = "";
|
|
|
|
sha256 = lockFile.nodes.lix-module.locked.narHash;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
args:
|
|
|
|
import "${nixpkgs}" {
|
|
|
|
overlays = [
|
|
|
|
(import ./overlay.nix)
|
|
|
|
(import "${lix-module}/overlay.nix" { inherit lix; })
|
|
|
|
] ++ args.overlays;
|
|
|
|
} // (builtins.removeAttrs args [ "overlays" ])
|