mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-21 23:22:53 +00:00
1.5 KiB
1.5 KiB
title | date | lastmod | draft | keywords | description | tags | categories | author | comment | toc | autoCollapseToc | postMetaInFooter | hiddenFromHomePage | contentCopyright | reward | mathjax | mathjaxEnableSingleDollar | mathjaxEnableAutoNumber | hideHeaderAndFooter | flowchartDiagrams | sequenceDiagrams | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Search Packages in Nix | 2022-08-24T10:53:22+05:30 | 2022-08-24T10:53:22+05:30 | false |
|
|
|
false | false | false | true | false | false | false | false | false | false | false |
|
|
Normally if you run nix search <package>
it will complain about something experimental.
Assuming you read the message and understand what you are getting yourself into, follow the instructions to enable search. Alternatively, you can search on https://search.nixos.org/.
Put the following in ~/.config/nix/nix.conf
experimental-features = nix-command flakes
Now search will work but it will rebuild cache every time you search. To avoid building cache, run nix registry pin nixpkgs
.
Search packages with nix search nixpkgs <package>
.