How to downgrade go version used to compile docker tools

My docker installation is totally down due to Docker fails to run containers · Issue #244159 · NixOS/nixpkgs · GitHub

Waiting for a proper fix to hit the nixos-23.05-small channel, I’m looking for a quickfix because my services running on docker are currently down.

Booting on the previous generation is not doable because I just switched from 22.11 to 23.05 and other services have run migrations and won’t work on the precedent one with their current state (/var/lib/ directory).

It seems like I can’t override buildGoPackage to downgrade go version in since it’s not part of the function arguments.

I won’t expose the docker socket on a real port to circumvent the initial go host check issue because it’s an enormous security vulnerability.

I’m stuck x)

Edit: I found a quickfix (see comment in linked issue) by pinning nixpkgs to prior the offending commit, but I’m still interested in a “better” fix (that is, only pinning go to an older version).

1 Like

Same issue here. :smiling_face_with_tear: :smiling_face_with_tear: