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:
bors[bot] 2021-03-26 21:07:51 +00:00 committed by GitHub
commit 205a9d3e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);