nixpkgs needs to be bumped for bun 1.3.9 #9158

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

Originally created by @albertov on GitHub (Feb 12, 2026).

Originally assigned to: @thdxr on GitHub.

Description

I'm getting this error in latest dev:

$ nix build github:anomalyco/opencode/dev
error: Cannot build '/nix/store/5r02rfc3g0rysfw350sdcgffr35m7j0l-opencode-1.1.60-1413d77.drv'.                                                                                      
       Reason: builder failed with exit code 1.                                  
       Output paths:                                                                      
         /nix/store/dsxc84m3f13y7z0b5wbphz6d71200z4y-opencode-1.1.60-1413d77              
       Last 19 log lines:                                                                 
       > Using versionCheckHook              
       > Running phase: unpackPhase                                                       
       > unpacking source archive /nix/store/q216c5kjwp9bbh076nnzlxppv7vaap47-source      
       > source root is source                                                            
       > Running phase: patchPhase           
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase       
       > Running phase: buildPhase      
       > 11 |                                                                             
       > 12 | // relax version requirement   
       > 13 | const expectedBunVersionRange = `^${expectedBunVersion}`                    
       > 14 |                                
       > 15 | if (!semver.satisfies(process.versions.bun, expectedBunVersionRange)) {
       > 16 |   throw new Error(`This script requires bun@${expectedBunVersionRange}, but you are using bun@${process.versions.bun}`)                                               
       >                  ^                                                               
       > error: This script requires bun@^1.3.9, but you are using bun@1.3.8              
       >       at /build/source/packages/script/src/index.ts:16:13        
       >                  
       > Bun v1.3.8 (Linux x64)           
       For full logs, run:                                                                
         nix log /nix/store/5r02rfc3g0rysfw350sdcgffr35m7j0l-opencode-1.1.60-1413d77.drv

Doing a nix flake update nixpkgs fixes it. I'll push a PR shortly

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @albertov on GitHub (Feb 12, 2026). Originally assigned to: @thdxr on GitHub. ### Description I'm getting this error in latest `dev`: ```console $ nix build github:anomalyco/opencode/dev error: Cannot build '/nix/store/5r02rfc3g0rysfw350sdcgffr35m7j0l-opencode-1.1.60-1413d77.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/dsxc84m3f13y7z0b5wbphz6d71200z4y-opencode-1.1.60-1413d77 Last 19 log lines: > Using versionCheckHook > Running phase: unpackPhase > unpacking source archive /nix/store/q216c5kjwp9bbh076nnzlxppv7vaap47-source > source root is source > Running phase: patchPhase > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > 11 | > 12 | // relax version requirement > 13 | const expectedBunVersionRange = `^${expectedBunVersion}` > 14 | > 15 | if (!semver.satisfies(process.versions.bun, expectedBunVersionRange)) { > 16 | throw new Error(`This script requires bun@${expectedBunVersionRange}, but you are using bun@${process.versions.bun}`) > ^ > error: This script requires bun@^1.3.9, but you are using bun@1.3.8 > at /build/source/packages/script/src/index.ts:16:13 > > Bun v1.3.8 (Linux x64) For full logs, run: nix log /nix/store/5r02rfc3g0rysfw350sdcgffr35m7j0l-opencode-1.1.60-1413d77.drv ``` Doing a `nix flake update nixpkgs` fixes it. I'll push a PR shortly ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugnix labels 2026-02-16 18:11:46 -05:00
yindo closed this issue 2026-02-16 18:11:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9158