mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
opencode: fix Bun 1.4 runtime server error
This commit is contained in:
@@ -110,6 +110,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail \
|
||||
'if (item.os === process.platform && item.arch === process.arch && !item.abi)' \
|
||||
'if (false)'
|
||||
''
|
||||
# Bun 1.4.x regressed compiled executable code splitting.
|
||||
+ ''
|
||||
substituteInPlace packages/opencode/script/build.ts \
|
||||
--replace-fail 'splitting: true,' 'splitting: false,'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user