From 23e72eff4197394e9dce69b20f55cff165e4409f Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 5 Sep 2019 00:15:01 +0200 Subject: [PATCH] lib/makeOverridable: Remove unimplemented overrideDerivation for functions - Apparently nobody ever needed this - We already have enough ways to override things - Using overrideDerivation is discouraged --- lib/customisation.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/customisation.nix b/lib/customisation.nix index c4eeee9a045..cbc0604c2b4 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -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;