pkgs/by-name-overlay: use lib from super instead of outputs.nix

This commit is contained in:
Wroclaw 2025-04-01 00:57:46 +02:00
parent f2407664c1
commit e3264f1451

View file

@ -6,8 +6,9 @@
# Type: Path -> Overlay
baseDirectory:
self: super:
let
lib = (import ../../outputs.nix {}).lib;
lib = super.lib;
inherit (builtins)
readDir
@ -39,9 +40,7 @@ let
# Filter out paths that don't have a ${nixFilename} file
(lib.filterAttrs (_: lib.pathExists))
];
in
self: super:
mapAttrs (name: file:
in mapAttrs (name: file:
self.callPackage file { inherit self super; package = super.${name}; }
) (packageFiles "override.nix")
// mapAttrs (name: file: