Skip to content

Suggest to search on nixpkgs issues when nothing is found #922

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

lnk3
Copy link
Contributor

@lnk3 lnk3 commented Apr 29, 2025

When an user searches for a package not already merged it won't be found.

For example:

https://search.nixos.org/packages?channel=unstable&query=nibbler

Right now it won't find the package, because it hass just been requested.
But it might be useful to the user to quickly check for the status on nixpkgs.

Therefore I Added a link to nixpkgs/issues?q=PACKAGENAME in viewNoResults.

When an user searches for a package not already merged it won't be
found.
Let's suggest them to check for open issues on nixpkgs.

- Added a link to `github:nixpkgs?q=PACKAGE`
Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be great if we had comprehensive "what to do if software is not in nixpkgs" documentation (outside of nixos-search), but for now this seems OK

@raboof raboof merged commit 8f59405 into NixOS:main May 5, 2025
2 checks passed
@lnk3
Copy link
Contributor Author

lnk3 commented May 6, 2025

I thought starting with a simple fix, but I agree with you @raboof. The documentation you suggest would need to be added to the repo readme or the site itself in your opinion?

@raboof
Copy link
Member

raboof commented May 6, 2025

I thought starting with a simple fix

Jup, agree!

but I agree with you @raboof. The documentation you suggest would need to be added to the repo readme or the site itself in your opinion?

Or maybe even a page on https://nix.dev ?

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 this pull request may close these issues.

2 participants