ngi-nix / ngipkgs

Nix packages and services for projects supported through the NGI program
https://ngi-nix.github.io/ngipkgs
MIT License
26 stars 16 forks source link

document `nix-systems/default-linux` development requirement #231

Open jleightcap opened 1 month ago

jleightcap commented 1 month ago

I have received questions about failures like:

does not provide attribute 'pkgs.aarch64-darwin...'

For newcomers, it's probably best to clearly document that we do not support developing on systems other than x86_64-linux (see @lorenzleutgeb's justification: https://github.com/ngi-nix/ngipkgs/issues/24#issuecomment-2091429319)

jleightcap commented 1 month ago

I can write this up, any thoughts on where best to include this caveat: README.md or CONTRIBUTING.md?

lorenzleutgeb commented 1 month ago

AFAIK current status is that we do not support Darwin, but we do support Linux on architectures other than x86, most notably ARM. So both x86_64-linux and aarch64-linux are good, potentially also others.

jleightcap commented 1 month ago

Thanks, yeah I realized that after posting, hence the title change: I didn't know to check https://github.com/nix-systems/default-linux.

lorenzleutgeb commented 1 month ago

Alright, just making sure :) IMO that should go into README.md because it affects "consumers", too.