3
0
Fork 0
forked from mirrors/nixpkgs

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
lib.setFunctionArgs ff (lib.functionArgs ff) // {
override = overrideArgs;
overrideDerivation = throw "overrideDerivation not yet supported for functors";
}
else ff;