From 63f3fef08e6d098056f4cd0e6f94694c53e875e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 23 Sep 2015 12:37:47 +0200 Subject: [PATCH] tweakAlias: simplify, thanks to @edolstra --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dff3d73ce2c7..0e53c988f888 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;