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:
parent
6d7efb3a16
commit
41b3688ba1
|
@ -10,7 +10,7 @@ let
|
||||||
inherit (stdenv) hostPlatform;
|
inherit (stdenv) hostPlatform;
|
||||||
};
|
};
|
||||||
|
|
||||||
makeOverlayable = mkDerivationSimple: # TODO(@robert): turn mkDerivationSimple into let binding.
|
makeOverlayable = mkDerivationSimple:
|
||||||
fnOrAttrs:
|
fnOrAttrs:
|
||||||
if builtins.isFunction fnOrAttrs
|
if builtins.isFunction fnOrAttrs
|
||||||
then makeDerivationExtensible mkDerivationSimple fnOrAttrs
|
then makeDerivationExtensible mkDerivationSimple fnOrAttrs
|
||||||
|
@ -65,7 +65,6 @@ let
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
# TODO(@roberth): inline makeOverlayable; reindenting whole rest of this file.
|
|
||||||
makeOverlayable (overrideAttrs:
|
makeOverlayable (overrideAttrs:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue