forked from mirrors/nixpkgs
lib: tiny cleanup
This commit is contained in:
parent
107f0fc9e7
commit
51687d9a7f
|
@ -121,7 +121,7 @@ rec {
|
|||
auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
|
||||
origArgs = auto // args;
|
||||
pkgs = f origArgs;
|
||||
mkAttrOverridable = name: pkg: makeOverridable (newArgs: (f newArgs).${name}) origArgs;
|
||||
mkAttrOverridable = name: _: makeOverridable (newArgs: (f newArgs).${name}) origArgs;
|
||||
in lib.mapAttrs mkAttrOverridable pkgs;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue