flake: apply overrides first
Fixes other overlays not applying when pulling package from master.
This commit is contained in:
parent
7c0381f478
commit
82463ffdc9
10
flake.nix
10
flake.nix
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user