3
0
Fork 0
forked from mirrors/nixpkgs

tweakAlias: simplify, thanks to @edolstra

This commit is contained in:
Vladimír Čunát 2015-09-23 12:37:47 +02:00
parent fb1f4fc61b
commit 63f3fef08e

View file

@ -15076,7 +15076,7 @@ aliases = with self; rec {
};
tweakAlias = _n: alias: with lib;
if !isDerivation alias && isAttrs alias then
if alias.recurseForDerivations or false then
removeAttrs alias ["recurseForDerivations"]
else alias;