nix-darwin icon indicating copy to clipboard operation
nix-darwin copied to clipboard

`podman` assumes `gvproxy` comes from homebrew

Open ForsakenHarmony opened this issue 2 years ago • 1 comments

Error message:

$ podman machine start
Error: unable to start host networking: "could not find \"gvproxy\" in one of [/usr/local/opt/podman/libexec /opt/homebrew/bin /opt/homebrew/opt/podman/libexec /usr/local/bin /usr/local/libexec/podman /usr/local/lib/podman /usr/libexec/podman /usr/lib/podman]"

Might have to patch this file https://github.com/containers/common/blob/e7f2cb74164f2d9bf3d2f65613cf95bb6eaba6a2/pkg/config/config_darwin.go

ForsakenHarmony avatar Jan 27 '22 15:01 ForsakenHarmony

The module needs something like this added:

etc."containers/containers.conf.d/99-gvproxy-path.conf".text = ''
  [engine]
  helper_binaries_dir = ["${pkgs.gvproxy}/bin"]
'';

This setup works for me.

K900 avatar Jan 29 '22 17:01 K900