make-derivation.nix: Remove unnecessary TODO

The goal was to keep the number of calls to a minimum, but that
would come at the cost of clobbering git blame and possibly not
improving readability.
This commit is contained in:
Robert Hensing 2021-12-23 19:46:32 +01:00
parent 6d7efb3a16
commit 41b3688ba1

View file

@ -10,7 +10,7 @@ let
inherit (stdenv) hostPlatform;
};
makeOverlayable = mkDerivationSimple: # TODO(@robert): turn mkDerivationSimple into let binding.
makeOverlayable = mkDerivationSimple:
fnOrAttrs:
if builtins.isFunction fnOrAttrs
then makeDerivationExtensible mkDerivationSimple fnOrAttrs
@ -65,7 +65,6 @@ let
in
# TODO(@roberth): inline makeOverlayable; reindenting whole rest of this file.
makeOverlayable (overrideAttrs: