Loading pkgs/stdenv/adapters.nix +4 −1 Original line number Diff line number Diff line Loading @@ -201,7 +201,10 @@ rec { inherit bintools; }; allowedRequisites = lib.mapNullable (rs: rs ++ [ bintools pkgs.mold (lib.getLib pkgs.mimalloc) (lib.getLib pkgs.openssl) ]) (stdenv.allowedRequisites or null); (lib.optional (stdenv.allowedRequisites or null != null) stdenv.allowedRequisites) ++ [ bintools pkgs.mold ] # need to `outputSpecified = false` to make getLib work ++ (builtins.map (p: lib.getLib (p // { outputSpecified = false; })) pkgs.mold.buildInputs); # gcc >12.1.0 supports '-fuse-ld=mold' # the wrap ld above in bintools supports gcc <12.1.0 and shouldn't harm >12.1.0 # https://github.com/rui314/mold#how-to-use Loading Loading
pkgs/stdenv/adapters.nix +4 −1 Original line number Diff line number Diff line Loading @@ -201,7 +201,10 @@ rec { inherit bintools; }; allowedRequisites = lib.mapNullable (rs: rs ++ [ bintools pkgs.mold (lib.getLib pkgs.mimalloc) (lib.getLib pkgs.openssl) ]) (stdenv.allowedRequisites or null); (lib.optional (stdenv.allowedRequisites or null != null) stdenv.allowedRequisites) ++ [ bintools pkgs.mold ] # need to `outputSpecified = false` to make getLib work ++ (builtins.map (p: lib.getLib (p // { outputSpecified = false; })) pkgs.mold.buildInputs); # gcc >12.1.0 supports '-fuse-ld=mold' # the wrap ld above in bintools supports gcc <12.1.0 and shouldn't harm >12.1.0 # https://github.com/rui314/mold#how-to-use Loading