dragnpkgs/default.nix

23 lines
622 B
Nix
Raw Normal View History

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
{ overlays ? [], ... } @ args:
2024-10-21 21:31:19 +00:00
import "${nixpkgs}" {
overlays = [
(import ./overlay.nix)
(import "${lix-module}/overlay.nix" { inherit lix; })
2024-10-21 21:48:14 +00:00
] ++ overlays;
2024-10-21 21:31:19 +00:00
} // (builtins.removeAttrs args [ "overlays" ])