Title: fix: upgrade nixpkgs to 25.05 and pin protoc 23.4 by geokat · Pull Request #26584 · coder/coder · GitHub
Open Graph Title: fix: upgrade nixpkgs to 25.05 and pin protoc 23.4 by geokat · Pull Request #26584 · coder/coder
X Title: fix: upgrade nixpkgs to 25.05 and pin protoc 23.4 by geokat · Pull Request #26584 · coder/coder
Description: nix develop and nix-shell were broken because the nixos-24.11 google-chrome derivation still pointed at Chrome 138, and Google no longer serves that versioned .deb: $ nix-shell these 2 derivations will be built: /nix/store/af59wjk8a8ys18bam92y3jns14pgj01n-google-chrome-stable_138.0.7204.49-1_amd64.deb.drv /nix/store/bc5fw07dw1f7g7y3yv7fricbynsnfx21-google-chrome-138.0.7204.49.drv building '/nix/store/af59wjk8a8ys18bam92y3jns14pgj01n-google-chrome-stable_138.0.7204.49-1_amd64.deb.drv'... trying https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_138.0.7204.49-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 error: cannot download google-chrome-stable_138.0.7204.49-1_amd64.deb from any mirror error: builder for '/nix/store/af59wjk8a8ys18bam92y3jns14pgj01n-google-chrome-stable_138.0.7204.49-1_amd64.deb.drv' failed with exit code 1; last 7 log lines: > > trying https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_138.0.7204.49-1_amd64.deb > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 > curl: (22) The requested URL returned error: 404 > error: cannot download google-chrome-stable_138.0.7204.49-1_amd64.deb from any mirror For full logs, run 'nix-store -l /nix/store/af59wjk8a8ys18bam92y3jns14pgj01n-google-chrome-stable_138.0.7204.49-1_amd64.deb.drv'. error: 1 dependencies of derivation '/nix/store/bc5fw07dw1f7g7y3yv7fricbynsnfx21-google-chrome-138.0.7204.49.drv' failed to build This PR updates the flake's main nixpkgs input to nixos-25.05 so the shell resolves a current Chrome package again. The 25.05 upgrade also removed the protobuf_23 attr. Rather than switching the shell to the channel-default protobuf package, pin protoc 23.4 explicitly from the upstream protobuf release archives. This keeps the local Nix shell aligned with mise.toml and the CI/release codegen toolchain. Disclaimer: I'm not experienced with Nix, so I used an agent to write most of the fix. I checked the download URLs and ran make pre-commit, make pre-push and scripts/develop.sh locally (Ubuntu 24.04.4 LTS).
Open Graph Description: nix develop and nix-shell were broken because the nixos-24.11 google-chrome derivation still pointed at Chrome 138, and Google no longer serves that versioned .deb: $ nix-shell these 2 derivations ...
X Description: nix develop and nix-shell were broken because the nixos-24.11 google-chrome derivation still pointed at Chrome 138, and Google no longer serves that versioned .deb: $ nix-shell these 2 derivations ...
Opengraph URL: https://github.com/coder/coder/pull/26584
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:75f6f998-4548-4a17-c14c-f77d58bc83cc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF5E:33444D:185F3A0:2068CF4:6B014939 |
| html-safe-nonce | 78d926f90da1fc83695acd7989fc6698b161bb2178fcd52bc7f5eb838299beec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjVFOjMzNDQ0RDoxODVGM0EwOjIwNjhDRjQ6NkIwMTQ5MzkiLCJ2aXNpdG9yX2lkIjoiNDQwMTUyOTMzMTk0NDM0Mzg2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 65da77f8d5f38e0b944831b8daae6a9e601e4b747818d03b2c1fc208d4d84ce5 |
| hovercard-subject-tag | pull_request:3915193566 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/26584/files |
| twitter:image | https://avatars.githubusercontent.com/u/283283?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/283283?s=400&v=4 |
| og:image:alt | nix develop and nix-shell were broken because the nixos-24.11 google-chrome derivation still pointed at Chrome 138, and Google no longer serves that versioned .deb: $ nix-shell these 2 derivations ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width