Unverified Commit b9c403c5 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

stdenvLinux: Remove bootstrapTools from closure

The "expand-response-params" program had an unnecessary reference to
bootstrapTools, bloating the closure from 205 to 314 MiB.
parent ecaef62b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -130,6 +130,8 @@ let
      # Work around "stdenv-darwin-boot-2 is not allowed to refer to path /nix/store/...-expand-response-params.c"
      cp "$src" expand-response-params.c
      "$CC" -std=c99 -O3 -o "$out" expand-response-params.c
      strip -S $out
      ${optionalString hostPlatform.isLinux "patchelf --shrink-rpath $out"}
    '';
  } else "";