Repository navigation
bun: 1.3.13 -> 1.4.2 with resolution of downstream package failures - #556047
Conversation
✅
|
|
|
✅
|
|
All platforms pass, let's merge. |
|
How about using #555390 for the build method? |
Compiling from source is unnecessary. Both methods finally lead to the same downstream failures if we don't resolve them. And that method alone introduced thousands of lines of complex Python script, JSON dependency locking, and ugly source patching that can break anytime. |
❌
|
|
Feel free to include an omp fix as needed. This is a newly merged package, hence why it is a new failure. |
Updates `bun` to 1.4.2: https://github.com/oven-sh/bun/releases/tag/bun-v1.4.2 Changelog: - https://bun.com/blog/bun-v1.3.14 - https://bun.com/blog/bun-v1.4 - https://bun.com/blog/bun-v1.4.1 - https://bun.com/blog/bun-v1.4.2
Restrict package to `x86_64-linux`: original maintainers have only tested on `x86_64-linux`. It breaks on `aarch64-linux` and `aarch64-darwin` in practice, blocking upstream package updates.
Bun 1.4 defaults to isolated linker (pnpm-style) `node_modules` installation, which changes the `node_modules` shape and causes hash mismatch. This change is harmless and doesn't impact building or runtime. Updated `node_modules` FOD hash to match Bun 1.4 installation.
Kilo package has been broken on all platforms for over a month: NixOS#542516. Maintainer is irresponsive, mark broken to prevent blocking upstream updates.
Bun 1.4 defaults to isolated linker (pnpm-style) `node_modules` installation, which changes the `node_modules` shape and causes hash mismatch. This change is harmless and doesn't impact building or runtime. Updated `node_modules` FOD hash to match Bun 1.4 installation.
3076760 to
d8277ad
Compare
Bun 1.4 defaults to isolated linker (pnpm-style) `node_modules` installation, which changes the `node_modules` shape and causes hash mismatch. This change is harmless and doesn't impact building or runtime. Updated `node_modules` FOD hash to match Bun 1.4 installation.
|
|
✅
|
❌
|
|
aarch64-darwin omp and handy failed to build, i'll handle omp but i'm not sure it's related to this PR yet since it's very fresh, i'll run another independant nixpkgs-review, no blocker |
nixpkgs bumped bun from 1.3.13 to 1.4.2 (NixOS/nixpkgs#556047), which rebuilt opencode 1.18.30 into a binary where every prompt fails in SystemPrompt.environment with `TypeError: undefined is not an object (evaluating 'a.name')`. opencode 1.18.30 has a circular import that lets a layer node capture an undefined dependency (opencode#48819), and bun 1.4's bundler evaluates those modules in the order that trips it while bun 1.3.13 does not. The upstream 1.18.30 release is broken the same way (opencode#48803), so drop this once opencode fixes the cycle rather than when nixpkgs moves on. Pin nixpkgs-bun to the rev that still carried bun 1.3.13 and use it for opencode only. The node_modules FOD hash matches across both bun versions, so only opencode itself rebuilds.
Updates Bun to 1.4.2:
Downstream failures resolved:
kilo: has been broken since July: Build failure: kilo #542516; failure unrelated with Bun update; original maintainer is unresponsive; marked as brokencyberstrike: original maintainers have only tested onx86_64-linuxthroughout its lifetime; breaks on all other platforms in practice; unrelated with Bun update; limited platform tox86_64-linuxonlyanytype: Bun update changesnode_modulesinstallation to default topnpm-style isolated linker, which changesnode_modulesshape and causes its FOD hash mismatch. This is a development-time behavioral change that doesn't impact building or runtime. Hash can be safely updated.zerobyte: same asanytype.omp: same asanytypeThings done
passthru.tests(none of the touched packages have passthru tests).nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.