flakelike
This commit is contained in:
parent
9cd9d8fe3c
commit
ba94153c3b
8 changed files with 221 additions and 0 deletions
21
pkgs/top-level/default.nix
Normal file
21
pkgs/top-level/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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
|
Loading…
Add table
Add a link
Reference in a new issue