forked from mirrors/nixpkgs
tweakAlias: simplify, thanks to @edolstra
This commit is contained in:
parent
fb1f4fc61b
commit
63f3fef08e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue