Re-added overrideAttrs
in makeOverridable
This commit is contained in:
parent
e11dbc3710
commit
5a5f8613e0
@ -65,6 +65,11 @@ rec {
|
||||
overrideDerivation = newArgs: overridePackage (self: super: {
|
||||
val = lib.overrideDerivation super.val newArgs;
|
||||
});
|
||||
|
||||
${if val ? overrideAttrs then "overrideAttrs" else null} = fdrv:
|
||||
overridePackage (self: super: {
|
||||
val = super.val.overrideAttrs fdrv;
|
||||
});
|
||||
})) // (lib.optionalAttrs (builtins.isFunction val) {
|
||||
__functor = _: val;
|
||||
extend = throw "extend not yet supported for functors";
|
||||
|
Loading…
Reference in New Issue
Block a user