2021-03-16 19:50:38 +00:00
|
|
|
{ lib, dev, nixos, self, ... }:
|
2021-03-14 07:10:51 +00:00
|
|
|
|
|
|
|
let inherit (self) inputs;
|
|
|
|
in
|
|
|
|
(inputs.utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let
|
|
|
|
extern = import ../../extern { inherit inputs; };
|
|
|
|
overridePkgs = dev.os.pkgImport inputs.override [ ] system;
|
|
|
|
overridesOverlay = (import ../../overrides).packages;
|
|
|
|
|
|
|
|
overlays = [
|
|
|
|
(final: prev: {
|
|
|
|
lib = prev.lib.extend (lfinal: lprev: {
|
|
|
|
inherit dev;
|
|
|
|
inherit (lib) nixosSystem;
|
|
|
|
|
|
|
|
utils = inputs.utils.lib;
|
|
|
|
});
|
|
|
|
})
|
2021-03-26 20:00:38 +00:00
|
|
|
(overridesOverlay overridePkgs)
|
|
|
|
self.overlay
|
2021-03-14 07:10:51 +00:00
|
|
|
]
|
|
|
|
++ extern.overlays
|
|
|
|
++ (lib.attrValues self.overlays);
|
|
|
|
in
|
|
|
|
{ pkgs = dev.os.pkgImport nixos overlays system; }
|
|
|
|
)
|
|
|
|
).pkgs
|