lib/makeOverridable: Remove unimplemented overrideDerivation for functions
- Apparently nobody ever needed this - We already have enough ways to override things - Using overrideDerivation is discouraged
This commit is contained in:
parent
c638dac226
commit
23e72eff41
@ -86,7 +86,6 @@ rec {
|
|||||||
# Transform ff into a functor while propagating its arguments
|
# Transform ff into a functor while propagating its arguments
|
||||||
lib.setFunctionArgs ff (lib.functionArgs ff) // {
|
lib.setFunctionArgs ff (lib.functionArgs ff) // {
|
||||||
override = overrideArgs;
|
override = overrideArgs;
|
||||||
overrideDerivation = throw "overrideDerivation not yet supported for functors";
|
|
||||||
}
|
}
|
||||||
else ff;
|
else ff;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user