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:
Silvan Mosberger 2019-09-05 00:15:01 +02:00
parent c638dac226
commit 23e72eff41
No known key found for this signature in database
GPG Key ID: 9424360B4B85C9E7

View File

@ -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;