refactor: rename build-failures to misc-fixes
This commit is contained in:
parent
d2896337d3
commit
771fb30cf9
3 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
||||||
inputs: rec {
|
inputs: let
|
||||||
|
inherit (builtins) removeAttrs;
|
||||||
|
in rec {
|
||||||
# Import pkgs from a nixpkgs instance
|
# Import pkgs from a nixpkgs instance
|
||||||
mkPkgs = {
|
mkPkgs = {
|
||||||
system,
|
system,
|
||||||
|
@ -12,7 +14,7 @@ inputs: rec {
|
||||||
overlays =
|
overlays =
|
||||||
[
|
[
|
||||||
(inputs.self.overlays.nix-version {inherit nix;})
|
(inputs.self.overlays.nix-version {inherit nix;})
|
||||||
inputs.self.overlays.build-failures
|
inputs.self.overlays.misc-fixes
|
||||||
]
|
]
|
||||||
++ (cfg.overlays or []);
|
++ (cfg.overlays or []);
|
||||||
config =
|
config =
|
||||||
|
@ -25,7 +27,7 @@ inputs: rec {
|
||||||
[]
|
[]
|
||||||
++ (cfg.config.permittedInsecurePackages or []);
|
++ (cfg.config.permittedInsecurePackages or []);
|
||||||
}
|
}
|
||||||
// (builtins.removeAttrs (
|
// (removeAttrs (
|
||||||
if cfg.config or null == null
|
if cfg.config or null == null
|
||||||
then {}
|
then {}
|
||||||
else cfg.config
|
else cfg.config
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
self: {
|
self: {
|
||||||
build-failures = import ./build-failures;
|
misc-fixes = import ./misc-fixes;
|
||||||
nix-version = import ./nix-version self;
|
nix-version = import ./nix-version self;
|
||||||
xdg-desktop-portal-kde = import ./xdg-desktop-portal-kde;
|
xdg-desktop-portal-kde = import ./xdg-desktop-portal-kde;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue