Skip to content
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

Package request: Veloren on Darwin #372702

Open
ethancedwards8 opened this issue Jan 10, 2025 · 5 comments
Open

Package request: Veloren on Darwin #372702

ethancedwards8 opened this issue Jan 10, 2025 · 5 comments
Labels
0.kind: packaging request Request for a new package to be added

Comments

@ethancedwards8
Copy link
Member

Project description

Veloren is already packaged for nixpkgs but only with Linux support. I would love it if someone made the package able to run on Darwin. The project has official support for MacOS, its just a matter of getting it in nixpkgs.


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@ethancedwards8 ethancedwards8 added the 0.kind: packaging request Request for a new package to be added label Jan 10, 2025
@TomaSajt
Copy link
Contributor

For the record, I attempted to build it on darwin, however the package build is currently encountering this issue on all platforms.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented Jan 13, 2025

Supporting darwin is just a matter of figuring out which runtime libraries have to be added to the wrapper.
The problem is that upstream is very stubborn on using shiny unstable features that break every couple of months.

@crabm4n
Copy link

crabm4n commented Jan 13, 2025

however the package build is currently encountering this issue on all platforms.

Veloren doesn't support building on the latest rust nightly (and likely wont for a while, because of how often things break there), instead we use a pinned nightly toolchain which is currently 2024-07-07 (also found in the rust-toolchain at the root of the veloren repository). I'm not familiar with the nix packaging system at all so this might not help, but I thought I'd add it anyways ;)

@TomaSajt

@ethancedwards8
Copy link
Member Author

Considering running Veloren directly is technically unsupported upstream, could we just get Airshipper to build on darwin?

@TomaSajt
Copy link
Contributor

TomaSajt commented Jan 13, 2025

Veloren doesn't support building on the latest rust nightly (and likely wont for a while, because of how often things break there), instead we use a pinned nightly toolchain which is currently 2024-07-07 (also found in the rust-toolchain at the root of the veloren repository). I'm not familiar with the nix packaging system at all so this might not help, but I thought I'd add it anyways ;)

@TomaSajt

Unfortunate... thanks for the info
AFAIK nixpkgs itself only provides one version of rust, but there are external nix-based projects packaging different versions, so maybe some external project can package veloren using those versions.

Considering running Veloren directly is technically unsupported upstream, could we just get Airshipper to build on darwin?

It might be possible, though I'm unfamiliar with how darwin loads libraries exactly. (we can't use the patchelf method, like it is currently being done on linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: packaging request Request for a new package to be added
Projects
None yet
Development

No branches or pull requests

4 participants