2021-03-26 16:54:37 +00:00
|
|
|
{ lib, dev, nixos, self, inputs, ... }:
|
2021-03-14 07:10:51 +00:00
|
|
|
|
2021-03-26 16:54:37 +00:00
|
|
|
{ extern, overrides }:
|
2021-03-14 07:10:51 +00:00
|
|
|
(inputs.utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let
|
|
|
|
overridePkgs = dev.os.pkgImport inputs.override [ ] system;
|
2021-03-26 16:54:37 +00:00
|
|
|
overridesOverlay = overrides.packages;
|
2021-03-14 07:10:51 +00:00
|
|
|
|
|
|
|
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
|