wrangler: don't strip text files

On my Darwin system, this empirically cuts about 70% off total build 
duration, by reducing the time spent in fixupPhase from ~27m to ~5m.
This commit is contained in:
edef
2025-09-14 20:06:34 +00:00
parent c23193b943
commit ad60b6f0ab
+6
View File
@@ -105,6 +105,12 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
preFixup = ''
# fixupPhase spends a lot of time trying to strip text files, which is especially slow on Darwin
stripExclude+=("*.js" "*.ts" "*.map" "*.json" "*.md")
'';
meta = {
description = "Command-line interface for all things Cloudflare Workers";
homepage = "https://github.com/cloudflare/workers-sdk#readme";