fix: patch opencode with previous bun version
This commit is contained in:
parent
cdb36293c7
commit
c7df1b37f9
1 changed files with 7 additions and 2 deletions
|
|
@ -63,8 +63,13 @@
|
||||||
inputs.nur.overlays.default
|
inputs.nur.overlays.default
|
||||||
inputs.ghostty.overlays.default
|
inputs.ghostty.overlays.default
|
||||||
inputs.helix.overlays.default
|
inputs.helix.overlays.default
|
||||||
(final: prev: {
|
(_final: prev: {
|
||||||
opencode = opencode.packages.${prev.stdenv.hostPlatform.system}.opencode;
|
opencode = opencode.packages.${prev.stdenv.hostPlatform.system}.opencode.overrideAttrs (old: {
|
||||||
|
postPatch = (old.postPatch or "") + ''
|
||||||
|
substituteInPlace package.json \
|
||||||
|
--replace-fail '"packageManager": "bun@1.3.14"' '"packageManager": "bun@1.3.13"'
|
||||||
|
'';
|
||||||
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue