fix: skip bun version check in opencode script
All checks were successful
Update Nix Packages with nix-update / nix-update (push) Successful in 22s
All checks were successful
Update Nix Packages with nix-update / nix-update (push) Successful in 22s
This commit is contained in:
@@ -8,6 +8,10 @@
|
|||||||
opencode = inputs.opencode.packages.${pkgs.system}.opencode.overrideAttrs (old: {
|
opencode = inputs.opencode.packages.${pkgs.system}.opencode.overrideAttrs (old: {
|
||||||
postPatch = (old.postPatch or "") + ''
|
postPatch = (old.postPatch or "") + ''
|
||||||
substituteInPlace package.json --replace-fail '"packageManager": "bun@1.3.9"' '"packageManager": "bun@1.3.8"'
|
substituteInPlace package.json --replace-fail '"packageManager": "bun@1.3.9"' '"packageManager": "bun@1.3.8"'
|
||||||
|
# Skip bun version check in script - nixpkgs provides 1.3.8 while upstream requires ^1.3.9
|
||||||
|
substituteInPlace packages/script/src/index.ts --replace-fail \
|
||||||
|
'if (!semver.satisfies(process.versions.bun, expectedBunVersionRange))' \
|
||||||
|
'if (false && !semver.satisfies(process.versions.bun, expectedBunVersionRange))'
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
|
|||||||
Reference in New Issue
Block a user