flake: apply overrides first
Fixes other overlays not applying when pulling package from master.
This commit is contained in:
parent
7c0381f478
commit
82463ffdc9
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -60,11 +60,9 @@
|
||||||
pkgs =
|
pkgs =
|
||||||
let
|
let
|
||||||
override = import ./pkgs/override.nix;
|
override = import ./pkgs/override.nix;
|
||||||
overlays = (attrValues self.overlays)
|
overlays = [
|
||||||
++ externOverlays
|
|
||||||
++ [
|
|
||||||
self.overlay
|
|
||||||
(override unstable)
|
(override unstable)
|
||||||
|
self.overlay
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
lib = (prev.lib or { }) // {
|
lib = (prev.lib or { }) // {
|
||||||
inherit (nixos.lib) nixosSystem;
|
inherit (nixos.lib) nixosSystem;
|
||||||
|
@ -72,7 +70,9 @@
|
||||||
utils = flake-utils.lib;
|
utils = flake-utils.lib;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
]
|
||||||
|
++ (attrValues self.overlays)
|
||||||
|
++ externOverlays;
|
||||||
in
|
in
|
||||||
pkgImport nixos overlays system;
|
pkgImport nixos overlays system;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue