Skip to content

wabt: 1.0.40 -> 1.0.41 - #517726

Merged
pbsds merged 1 commit into
NixOS:masterfrom
ggreif:bump-wabt
May 8, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
ggreif:bump-wabt

Conversation

@ggreif

@ggreif ggreif commented May 7, 2026

Copy link
Copy Markdown
Contributor

Brings in WebAssembly/wabt#2744 (return_call_indirect validator under table64), released upstream as 1.0.41 today.

Three packages rebuild: diffoscope, wabt, plus its closure.

Things done

  • Built on platform:
    • aarch64-darwin
  • Ran nixpkgs-review
  • Tested basic functionality (wasm-validate --enable-tail-call --enable-memory64 against a memory64 binary using return_call_indirect)

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels May 7, 2026
@ggreif

ggreif commented May 7, 2026 •

Copy link
Copy Markdown
Contributor Author

@ofborg build wabt

ggreif added a commit to caffeinelabs/motoko that referenced this pull request May 7, 2026
…ackage.nix`

Replaces the local `super.wabt.overrideAttrs + fetchpatch` overlay with a
single-file flake input pinned at NixOS/nixpkgs#517726 (wabt 1.0.41) and a
trivial `super.callPackage wabt-package-src {}` overlay.

`type = "file"` fetches just the ~5 KB `package.nix` expression (narHash
pinned in flake.lock) — no second nixpkgs tarball, no second nixpkgs
evaluation. `super.callPackage` injects stdenv, cmake, python3, gtest,
fetchFromGitHub, … from the host nixpkgs, so the resulting derivation is
identical to what NixOS/nixpkgs#517726 would produce upstream.

Wins over `5a8df27df`'s fetchpatch:
- `wabt --version` prints `1.0.41` (was `1.0.40-pre-2744`); drops the
  `__intentionallyOverridingVersion = true` shim.
- No fetchpatch hash drift to chase.
- Cleanup at end-of-life is mechanical: drop the input, drop the
  overlay, no version-string unwind.

`nix eval` confirms `pkgs.wabt.version == "1.0.41"`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@ggreif

ggreif commented May 8, 2026 •

Copy link
Copy Markdown
Contributor Author

@Ekleog @pbsds — small bump (1.0.40 → 1.0.41), ofborg green; would unblock the Motoko gabor/wasm-exts-sync work. Could you take a look?

@pbsbot

pbsbot commented May 8, 2026

Copy link
Copy Markdown

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 517726
Commit: d26416cf58028c701e637fdec99801467e710ec6


x86_64-linux

✅ 4 packages built:
  • diffoscope
  • diffoscope.dist
  • diffoscope.man
  • wabt

@pbsds

pbsds commented May 8, 2026

Copy link
Copy Markdown
Member

i squashed the commits

@pbsds
pbsds enabled auto-merge May 8, 2026 14:36
@pbsds
pbsds added this pull request to the merge queue May 8, 2026
Merged via the queue into NixOS:master with commit 5a610f5 May 8, 2026
26 checks passed
@ggreif
ggreif deleted the bump-wabt branch May 8, 2026 19:12
ggreif added a commit to caffeinelabs/motoko that referenced this pull request May 8, 2026
…erge commit

PR was merged 2026-05-08 14:41 UTC. Switching the `type = "file"`
input from the fork (`ggreif/nixpkgs@d26416cf`) to the upstream
merge commit (`NixOS/nixpkgs@5a610f5b4f`). The narHash is
identical — the merged file is byte-for-byte the fork's content,
confirming the PR landed exactly as proposed.

Verified locally: `nix develop --command wasm-validate --version`
and `wat2wasm --version` both report `1.0.41`.

Next cleanup (separate commit, when nixpkgs-unstable rolls past
the merge): drop the input + the overlay entirely, falling back
to plain `pkgs.wabt`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants