2021-04-19 02:30:07 +03:00
|
|
|
{ lib, dev, nixpkgs, userSelf, inputs, ... }:
|
2021-03-14 10:10:51 +03:00
|
|
|
|
2021-03-26 19:54:37 +03:00
|
|
|
{ extern, overrides }:
|
2021-03-14 10:10:51 +03:00
|
|
|
(inputs.utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let
|
|
|
|
overridePkgs = dev.os.pkgImport inputs.override [ ] system;
|
2021-03-26 19:54:37 +03:00
|
|
|
overridesOverlay = overrides.packages;
|
2021-03-14 10:10:51 +03:00
|
|
|
|
|
|
|
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)
|
2021-04-19 02:30:07 +03:00
|
|
|
userSelf.overlay
|
2021-03-14 10:10:51 +03:00
|
|
|
]
|
|
|
|
++ extern.overlays
|
2021-04-19 02:30:07 +03:00
|
|
|
++ (lib.attrValues userSelf.overlays);
|
2021-03-14 10:10:51 +03:00
|
|
|
in
|
2021-04-02 05:10:24 +03:00
|
|
|
{ pkgs = dev.os.pkgImport nixpkgs overlays system; }
|
2021-03-14 10:10:51 +03:00
|
|
|
)
|
|
|
|
).pkgs
|