chore: removed temporary fix for opencode bun version requirement
This commit is contained in:
5
.beads/.gitignore
vendored
5
.beads/.gitignore
vendored
@@ -32,6 +32,11 @@ beads.left.meta.json
|
|||||||
beads.right.jsonl
|
beads.right.jsonl
|
||||||
beads.right.meta.json
|
beads.right.meta.json
|
||||||
|
|
||||||
|
# Sync state (local-only, per-machine)
|
||||||
|
# These files are machine-specific and should not be shared across clones
|
||||||
|
.sync.lock
|
||||||
|
sync_base.jsonl
|
||||||
|
|
||||||
# NOTE: Do NOT add negation patterns (e.g., !issues.jsonl) here.
|
# NOTE: Do NOT add negation patterns (e.g., !issues.jsonl) here.
|
||||||
# They would override fork protection in .git/info/exclude, allowing
|
# They would override fork protection in .git/info/exclude, allowing
|
||||||
# contributors to accidentally commit upstream issue databases.
|
# contributors to accidentally commit upstream issue databases.
|
||||||
|
|||||||
@@ -2,17 +2,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
inputs ? null,
|
inputs ? null,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
# Upstream opencode v1.1.27 strictly requires Bun 1.3.5 but its locked nixpkgs provides 1.3.6
|
|
||||||
# We patch package.json to match the environment version to fix the build
|
|
||||||
opencode = inputs.opencode.packages.${pkgs.system}.opencode.overrideAttrs (old: {
|
|
||||||
postPatch =
|
|
||||||
(old.postPatch or "")
|
|
||||||
+ ''
|
|
||||||
substituteInPlace package.json --replace-fail "bun@1.3.5" "bun@1.3.6"
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
in {
|
|
||||||
# Custom packages registry
|
# Custom packages registry
|
||||||
# Each package is defined in its own directory under pkgs/
|
# Each package is defined in its own directory under pkgs/
|
||||||
beads = pkgs.callPackage ./beads {};
|
beads = pkgs.callPackage ./beads {};
|
||||||
@@ -29,6 +19,6 @@ in {
|
|||||||
zellij-ps = pkgs.callPackage ./zellij-ps {};
|
zellij-ps = pkgs.callPackage ./zellij-ps {};
|
||||||
|
|
||||||
# Imported from flake inputs
|
# Imported from flake inputs
|
||||||
inherit opencode;
|
opencode = inputs.opencode.packages.${pkgs.system}.opencode;
|
||||||
opencode-desktop = inputs.opencode.packages.${pkgs.system}.desktop.override {inherit opencode;};
|
opencode-desktop = inputs.opencode.packages.${pkgs.system}.desktop;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user