Page MenuHomePhabricator

[nix] Upgrade to latest version of nixpkgs-unstable
ClosedPublic

Authored by will on Jan 5 2024, 9:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 9:30 PM
Unknown Object (File)
Tue, Dec 3, 10:43 AM
Unknown Object (File)
Mon, Dec 2, 11:34 AM
Unknown Object (File)
Wed, Nov 27, 2:16 PM
Unknown Object (File)
Nov 23 2024, 6:53 PM
Unknown Object (File)
Nov 23 2024, 5:08 PM
Unknown Object (File)
Nov 23 2024, 4:25 PM
Unknown Object (File)
Nov 23 2024, 2:30 PM
Subscribers

Details

Reviewers
ashoat
varun
bartek
atul
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMda579abcb51f: [nix] Upgrade to latest version of nixpkgs-unstable
Summary

This updates to the latest version of nixpkgs-unstable. This is in response to the need to update localstack from 1.4.0 to >2.3.2.

Test Plan

Successfully ran nix develop with working build environment

Diff Detail

Repository
rCOMM Comm
Branch
update_nixpkgs_unstable
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will requested review of this revision.Jan 5 2024, 10:15 PM
This revision is now accepted and ready to land.Jan 6 2024, 8:56 AM
atul requested changes to this revision.Jan 6 2024, 12:12 PM
atul added a subscriber: atul.

This would bring forward a bunch of dependencies, right?

Should we take some sort of inventory of what's being updated to at least see if any might be of concern?

For example, when I run which pod before this diff:

/nix/store/n3nhjnv92sx1pxhsiiz44796r2hhxx06-cocoapods-1.12.1/bin/pod

and after

/nix/store/qrdahdk9s7wdc7wd5r63gzk6kfhp4vnn-cocoapods-1.14.3/bin/pod

we're bumping the version cocoapods, so we will necessarily have changes to Podfile.lock.

At a minimum, we should run yarn cleaninstall and stage the changes to Podfile.lock in this diff or a follow-up diff that lands immediately.

Ideally, I think we should just make a list of everything that would get updated and flag the 3-4 dependencies that might be relevant and do some minimal investigation or thinking about whether problems might arise.


Another thing that immediately comes to mind is

nodejs-18.17.1/bin/node to nodejs-20.10.0/bin/node

This revision now requires changes to proceed.Jan 6 2024, 12:12 PM

Good call @atul. If we’re updating Node we should probably also update the versions in keyserver/Dockerfile and keyserver/.nvmrc to match

Owners added a reviewer: Restricted Owners Package.Jan 11 2024, 4:40 PM
bartek added inline comments.
services/electron-update-server/Dockerfile
1

Sidenote, I see that in some Buildkite workflows we have

plugins:
  - docker#v5.3.0:
      image: 'node:16.13-bullseye'

Maybe we should upgrade these too? cc @atul

services/electron-update-server/Dockerfile
1

Yes would be good to upgrade I think… Node 16 is old

This revision is now accepted and ready to land.Jan 12 2024, 11:24 AM
services/electron-update-server/Dockerfile
1

Done here: D10622