-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman: confusing reference to podman-mac-helper #204874
Comments
No. Carrying patches has been discussed previously by the podman maintainers. See #163015 (comment), most of it applies here.
nixpkgs/pkgs/applications/virtualization/podman/default.nix Lines 51 to 53 in 6c31998
IIRC it still hardcodes
Yes, it's the path to the unwrapped binary.
Yeah guess that would work but fixing it upstream somehow would be better. |
How would it make things worse? I think we should probably add I don't have a darwin machine to test this on right now but would happily accept a PR adding the mac helper util (and make the wrapper aware of it too). |
I concede your point, and am not pushing back, but this one feels like it is in a different class.
yep, it does; see below.
sure, but even I am unclear exactly how to get it into PATH; non-technical users are going to be lost.
what would be your proposed upstream fix? I cannot see a clean way for a tool like podman to keep around a launchctl plist that auto-retargets the correct binary in the
|
Yeah, that's fair. If it's just removing those couple of lines I guess we can live with that.
I did have a couple of ideas but can't find were I kept note of them. TBH after upstream started publishing |
that is quite a shame, but they are likely trying to cater to the I am happy to close this out, with a resolution of "we should make home-manager and/or nix-darwin modules", but if there is anything else you maintainers want done to the actual derivation, I am happy to drive that. |
Haven't found my notes but one idea I had was to have the podman binary that was being interacted with by the user (and would presumably be the correct/newer one) check that its own path matched what was listed in the plist. This would likely be a bit noisy as it would alert every time the store path changed, less noisy option could be a version check with the version embedded in the plist, less correct but would avoid getting stuck on an old version. I've opened a PR to patch out the message. |
Describe the bug
podman suggests you use a non-existant binary.
Steps To Reproduce
steps to reproduce the behavior:
Expected behavior
should we try and patch out these lines to prevent new user confusion?
Additional context
we could also try and include
podman-mac-helper
, but it seems like it would make things worse, and the right solution is a nix-darwin module?Notify maintainers
@marsam @adisbladis @saschagrunert @vdemeester @zowoq
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: