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

Wording when a package doesn't specify meta.platforms is misleading. #734

Open
iFreilicht opened this issue Mar 6, 2024 · 1 comment · May be fixed by #774
Open

Wording when a package doesn't specify meta.platforms is misleading. #734

iFreilicht opened this issue Mar 6, 2024 · 1 comment · May be fixed by #774

Comments

@iFreilicht
Copy link

When opening a package that doesn't specify meta.platforms, the message is simply "This package is not available on any platform."

Screenshot 2024-03-06 at 02 46 38

This is somewhat misleading, for two reasons.

  1. A user can try to build the package on any platform, even without setting NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
  2. For x86_64-linux, the package will even be cached in hydra, so it's pretty much guaranteed to work.

My optimal solution for this would be to communicate both these caveats, maybe by showing x86_64-linux as a supported platform, with an additional disclaimer that the user can try installing the package on any other platform as well, but that it's not guaranteed to work.

Alternatively, the wording could be changed to "This package does not list any supported platforms.", or it might just show x86_64-linux as supported, nothing else.

@lolbinarycat
Copy link

relevant context from Lily Foster in the matrix chatroom:

it looks like the relevant line to change is

[ p [] [ text "This package is not available on any platform." ] ]

@Aleksanaa Aleksanaa linked a pull request May 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants