Search
Search in MyNixOS is performed client-side. An index of entries is downloaded from the MyNixOS server and searched using the extended search from the library Fuse.js. The index is persisted client-side.
Note that the Fuse.js library has been modified to set include-match
as the default match type.
Examples
Query | Description | Test |
---|---|---|
package firefox | Find all packages which includes firefox | Try it! |
option enable$ | Find all enable options | Try it! |
Supported search operators
Token | Match type | Description |
---|---|---|
python | include-match | Items that include python |
=scheme | exact-match | Items that are scheme |
~jscript | fuzzy-match | Items that fuzzy match jscript |
!ruby | inverse-exact-match | Items that do not include ruby |
^java | prefix-exact-match | Items that start with java |
!^earlang | inverse-prefix-exact-match | Items that do not start with earlang |
.js$ | suffix-exact-match | Items that end with .js |
!.go$ | inverse-suffix-exact-match | Items that do not end with .go |
White space acts as an AND operator, while a single pipe (|
) character acts as an OR operator.
To escape white space, use double quote, e.g. ="scheme language"
for exact match.