flake: apply overrides first

Fixes other overlays not applying when pulling package from master.
This commit is contained in:
Timothy DeHerrera 2021-01-24 11:05:37 -07:00
parent 7c0381f478
commit 82463ffdc9
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 5 additions and 5 deletions

View File

@ -60,11 +60,9 @@
pkgs =
let
override = import ./pkgs/override.nix;
overlays = (attrValues self.overlays)
++ externOverlays
++ [
self.overlay
overlays = [
(override unstable)
self.overlay
(final: prev: {
lib = (prev.lib or { }) // {
inherit (nixos.lib) nixosSystem;
@ -72,7 +70,9 @@
utils = flake-utils.lib;
};
})
];
]
++ (attrValues self.overlays)
++ externOverlays;
in
pkgImport nixos overlays system;