Comments (6)
Program names are now indexed. Another use case are libraries: #673
from nixos-search.
Agreed, though this would need server-side work to happen (or some service hosted elsewhere).
All current search pages on the website are completely handled client-side by having an index loaded from the server.
Using nix-index
you can locally search for files for any package (as long as it's built on hydra). It may be possible to build a service that, as a backend, would use nix-index
to return results.
from nixos-search.
Also, command-not-found seems to do the job locally:
$ readelf
The program ‘readelf’ is currently not installed. You can install it by typing:
nix-env -iA nixos.binutils-unwrapped
I'm using Zsh and the support was broken at the time I've created this issue.
Still, the idea remain interesting for systems that do not have command-not-found
activated.
Maybe the command-not-found
script can be adapted to be use as backend for the website as an alternative to nix-index
.
from nixos-search.
I don't think "interesting" is the right word... nobody seems to know which packages supplies "phpize" and "php.h", and the packages they suggest do not exist in the search. Minding that I only use NixOS because Replit (my IDE) uses NixOS, it seems vital to any distribution to be able to locate the appropriate packages supplying the target tools when they exist at all.
from nixos-search.
With flakes we can already exctract app
attributes
I have looked into integrating nix-index
(for nixpkgs at least).
As far as I see it should be quite possible to either speak with hydra directly or (better) integrate nix-index
and track files in <drv>/bin
It's a bigger amendment to nixos-search and not as pressing here as it's available as its own tool in form of nix-index
from nixos-search.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-07-20-documentation-team-meeting-notes-65/30876/1
from nixos-search.
Related Issues (20)
- add field to package info for link to upstream repository. HOT 4
- Actual option name is 'programs.zsh.autosuggestion' but the documentation shows 'programs.zsh.autosuggestions'
- Links to hydra builds of platforms other than x86_64-linux and aarch64-linux are dead HOT 1
- development instructions do not work properly HOT 1
- Use / to search HOT 3
- name-version split isn't correct for unstable packages HOT 1
- Results are out of date HOT 2
- versions in web view does not correspond to available packages. HOT 2
- `flake-info --json` returns "Branch not found"
- Package versions missing in search output HOT 1
- input-leap installation error HOT 1
- Search page goes blank after 15 seconds in Firefox
- Show sourceProvenance in package entry
- Allow searching option descriptions HOT 1
- `go_1_22` not found HOT 1
- Feature request: expand all results to have their parameters (name, description, type, default, declared in) visible simultaneously
- Incorrect format for Non-NixOS descriptions in 24.05 channel HOT 1
- navigate option groups
- Wrong version number for package python312 on NixOS Search size for NixOS 24.05 HOT 1
- FEATURE REQUEST: Filter - Maintained / Unmaintained HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-search.