fixes
runner nix smoke / nix label and flake smoke (push) Canceled after 0s

This commit is contained in:
2026-10-12 18:28:11 +00:00
parent bd794f98a2
commit 21a3b5c59f
7 changed files with 58 additions and 15 deletions
+3 -9
View File
@@ -65,15 +65,9 @@ in {
# Restrict the SDK TLS connector to HTTP/1.1 after S3 REFUSED_STREAM errors.
cargoDeps = pkgs.runCommand "attic-cargo-vendor-http1" { } ''
mkdir "$out"
shopt -s dotglob
for entry in ${old.cargoDeps}/*; do
ln -s "$entry" "$out/$(basename "$entry")"
done
crate=aws-smithy-http-client-1.0.6
rm "$out/$crate"
cp -rL ${old.cargoDeps}/"$crate" "$out/$crate"
chmod -R u+w "$out/$crate"
substituteInPlace "$out/$crate/src/client/tls.rs" \
cp -a --no-preserve=mode ${old.cargoDeps}/. "$out/"
crate="$out/source-registry-0/aws-smithy-http-client-1.0.6"
substituteInPlace "$crate/src/client/tls.rs" \
--replace-fail '.enable_http2()' ""
'';
postPatch = (old.postPatch or "") + ''