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;