Skip to content

nixpkgs needs to be bumped for bun 1.3.9 #13300

@albertov

Description

@albertov

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 [email protected]              
       >       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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnix

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions