Refractor to dendritic approach.
This commit is contained in:
+4
-15
@@ -1,22 +1,11 @@
|
||||
# This file defines overlays
|
||||
{inputs, ...}: {
|
||||
addpkgs = final: _prev: (import ../pkgs {pkgs = final.pkgs;});
|
||||
|
||||
#Current overlay is for helm, to disable binary, so no conflict
|
||||
modifications = final: prev: {
|
||||
helm = prev.helm.overrideAttrs (oldAttrs: rec {
|
||||
patches =
|
||||
oldAttrs.patches
|
||||
or []
|
||||
++ [
|
||||
./helm.patch
|
||||
];
|
||||
config.flake.overlays.modifications = _final: prev: {
|
||||
helm = prev.helm.overrideAttrs (oldAttrs: {
|
||||
patches = oldAttrs.patches or [] ++ [./helm.patch];
|
||||
});
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
# be accessible through 'pkgs.unstable'
|
||||
unstable-packages = final: _prev: {
|
||||
config.flake.overlays.unstable-packages = final: _prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
system = final.system;
|
||||
config.allowUnfree = true;
|
||||
|
||||
Reference in New Issue
Block a user