nix-darwin
nix-darwin copied to clipboard
`podman` assumes `gvproxy` comes from homebrew
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
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.