22 lines
552 B
Nix
22 lines
552 B
Nix
|
{ inputs ? import ../../inputs.nix {}
|
||
|
, uninitializedNixpkgs ? import "${inputs.nixpkgs}/pkgs/top-level/default.nix"
|
||
|
, ...
|
||
|
} @ args:
|
||
|
|
||
|
let
|
||
|
attrsToRemove = [
|
||
|
"inputs"
|
||
|
"overlays"
|
||
|
"uninitializedNixpkgs"
|
||
|
];
|
||
|
|
||
|
options = (builtins.removeAttrs args attrsToRemove) // {
|
||
|
overlays = (args.overlays or []) ++ [
|
||
|
( import ../overlays/selfExpr.nix { nixpkgsPath = ./impure.nix; } )
|
||
|
( import ../overlays/unstable.nix )
|
||
|
( import ../overlays/version-info-fixup.nix { inherit inputs; } )
|
||
|
];
|
||
|
};
|
||
|
in
|
||
|
uninitializedNixpkgs options
|