mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
lib/customisation/makeOverridable: inline key mirrorArgs call
Prevents a merge.
This commit is contained in:
@@ -211,12 +211,12 @@ rec {
|
||||
if isAttrs f then
|
||||
# Preserve additional attributes for f
|
||||
f
|
||||
// (mirrorArgs f')
|
||||
# Decorate f.override if presented
|
||||
// {
|
||||
__functor = self: f';
|
||||
__functionArgs = fArgs;
|
||||
# Decorate f.override if presented
|
||||
${if f ? override then "override" else null} = fdrv: makeOverridable (f.override fdrv);
|
||||
}
|
||||
|
||||
else
|
||||
mirrorArgs f';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user