2021-03-16 22:50:38 +03:00
|
|
|
{ lib, dev, nixos, self, ... }:
|
2021-03-14 10:10:51 +03: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 23:00:38 +03:00
|
|
|
(overridesOverlay overridePkgs)
|
|
|
|
self.overlay
|
2021-03-14 10:10:51 +03:00
|
|
|
]
|
|
|
|
++ extern.overlays
|
|
|
|
++ (lib.attrValues self.overlays);
|
|
|
|
in
|
|
|
|
{ pkgs = dev.os.pkgImport nixos overlays system; }
|
|
|
|
)
|
|
|
|
).pkgs
|