diff options
| author | tv <tv@krebsco.de> | 2026-11-11 22:18:04 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-11 23:24:35 +0100 |
| commit | 3036abf74db0cef104e8bc2778f44f20e1261674 (patch) | |
| tree | fa19d3b4cca0eb17d5a6f6eb713334ba71f62212 | |
| parent | 06f350cf7d5a9b0ea73c2afa828e60282d080a64 (diff) | |
pkgs: compose overlays instead of fixing them
| -rw-r--r-- | pkgs/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index fffd289..29f1e0f 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -11,8 +11,7 @@ let in # Import files and subdirectories like they are overlays. -lib.fix - (builtins.foldl' (lib.flip lib.extends) (_: super) +lib.composeManyExtensions ( [ (self: super: { @@ -34,4 +33,4 @@ lib.fix (builtins.attrNames (lib.filterAttrs mylib.isNixDirEntry (builtins.readDir ./.)))) ) - ) + self super |
