forked from pub-solar/os
Merge #219
219: lib/mkPkgs: reorder overlays to get access to devos lib(dev) r=nrdxp a=Pacman99 nixpkgs applies overlays in the order given. This PR moves the lib extension overlay to be first so all subsequent overlays can access `dev` which is the devos lib. Co-authored-by: Pacman99 <pachum99@gmail.com>
This commit is contained in:
commit
205a9d3e03
|
@ -10,8 +10,6 @@ in
|
||||||
overridesOverlay = (import ../../overrides).packages;
|
overridesOverlay = (import ../../overrides).packages;
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
(overridesOverlay overridePkgs)
|
|
||||||
self.overlay
|
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
lib = prev.lib.extend (lfinal: lprev: {
|
lib = prev.lib.extend (lfinal: lprev: {
|
||||||
inherit dev;
|
inherit dev;
|
||||||
|
@ -20,6 +18,8 @@ in
|
||||||
utils = inputs.utils.lib;
|
utils = inputs.utils.lib;
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
(overridesOverlay overridePkgs)
|
||||||
|
self.overlay
|
||||||
]
|
]
|
||||||
++ extern.overlays
|
++ extern.overlays
|
||||||
++ (lib.attrValues self.overlays);
|
++ (lib.attrValues self.overlays);
|
||||||
|
|
Loading…
Reference in a new issue