[PR #13292] chore: Update nixpkgs to nixos-unstable-small for Bun compatibility #14600

Closed
opened 2026-02-16 18:19:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13292

State: closed
Merged: No


Fixes #13291

Summary

Switches nixpkgs URL from nixpkgs-unstable to nixos-unstable-small to provide Bun 1.3.9, resolving version mismatch errors on NixOS builds.

Why This Fixes It

NixOS users encountered build failures due to Bun 1.3.8 not meeting OpenCode's 1.3.9 requirement. The nixos-unstable-small channel has the compatible version without sacrificing stability.

Verification

  • Confirmed Bun 1.3.9 availability in nixos-unstable-small.
  • Local testing shows successful builds (matches issue reproduction).
  • Minimal change: only flake.nix updated.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13292 **State:** closed **Merged:** No --- Fixes #13291 ## Summary Switches nixpkgs URL from `nixpkgs-unstable` to `nixos-unstable-small` to provide Bun 1.3.9, resolving version mismatch errors on NixOS builds. ## Why This Fixes It NixOS users encountered build failures due to Bun 1.3.8 not meeting OpenCode's 1.3.9 requirement. The nixos-unstable-small channel has the compatible version without sacrificing stability. ## Verification - Confirmed Bun 1.3.9 availability in nixos-unstable-small. - Local testing shows successful builds (matches issue reproduction). - Minimal change: only `flake.nix` updated.
yindo added the pull-request label 2026-02-16 18:19:23 -05:00
yindo closed this issue 2026-02-16 18:19:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14600