Closed osalbahr closed 1 year ago
It shows as compatible because the derivation states that it is.
It would be a pretty easy fix to not show up as compatible with darwin targets. My question is since the expected behavior you mention is not what upstream currently supports, what it would take to close this issue? Would marking this package as not compatible (which would close the issue) until upstream supports darwin (at which point a new issue is created) targets be enough? or something else?
It shows as compatible because the derivation states that it is.
Oh, ok. Thank you for clarifying. I’m new to nix so I don’t know how derivations work.
It would be a pretty easy fix to not show up as compatible with darwin targets. My question is since the expected behavior you mention is not what upstream currently supports, what it would take to close this issue? Would marking this package as not compatible until upstream supports darwin targets be enough? or something else?
Not sure what the proper action is tbh. I am reporting how I interpreted the page. I thought nix somehow made distrobox work on macOS but then it didn’t so I opened an issue. How is compatibility usually determined in nixpkgs?
Not sure what the proper action is tbh. I am reporting how I interpreted the page. I thought nix somehow made distrobox work on macOS but then it didn’t so I opened an issue. How is compatibility usually determined in nixpkgs?
Nix does not auto-magically do this. nix on darwin runs directly on darwin (as I understand) so if upstream does not support it, it is very likely the case that packages installed by nix on darwin wont either. This is still a valid issue, since upstream does not support darwin yet the derivation shows that it does.
Should be fixed by #242143.
Describe the bug
Distrobox does not work on macOS.
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p distrobox
distrobox enter
Expected behavior
A distrobox is created and entered.
Screenshots
nix-shell -p distrobox
[nix-shell:~]$ distrobox enter Missing dependency: we need a container manager. Please install one of podman or docker. You can follow the documentation on: man distrobox-compatibility or: https://github.com/89luca89/distrobox/blob/main/docs/compatibility.md
3,
nix-shell -p distrobox docker
Additional context
The upstream does not support macOS (Darwin) 89luca89/distrobox#36: [Feature] MacOS host support. I'm not sure why https://search.nixos.org/packages?show=distrobox displays x86_64-darwin (and aarch64-darwin) under Platforms.
Notify maintainers
@AtilaSaraiva @r-ryantm
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Note: I'm actually not on
macOS 10.16
but running the latest,macOS Ventura 13.4.1
.Related issue: nixpkgs podman and qemu on darwin don't play well together #169118