nixos-search
nixos-search copied to clipboard
Search results missing some packages
Describe the bug
I'm not sure how many packages are impacted, but I can confirm that at least 1 package is missing from search. Direct link to the search results.
Couldn't find a bug template, so copied over the one from nixpkgs and removed some irrelevant sections.
Steps To Reproduce
Steps to reproduce the behavior:
- Search for "yabai" (direct link)
- Observe that there are no packages found
- Run
nix-shell -p yabai
- Observe it works, that there exists a package with the name "yabai". (Run
which yabai
to confirm such a binary has been installed.)
Expected behavior
Searching for "yabai" should display the corresponding package, found here: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/darwin/yabai/default.nix#L8
search does seem to find a related package which is configured in a similar way, in around the same path: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/darwin/skhd/default.nix#L43
I'm not sure why the latter shows up in search.nixos.org but the former doesn't.
Screenshots
Metadata
> nix-shell -p nix-info --run "nix-info -m"
- system: `"aarch64-darwin"`
- host os: `Darwin 23.1.0, macOS 14.1.1`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.4`
- channels(rmanne): `"darwin, nixpkgs-23.11pre519165.cddebdb60de3"`
- channels(root): `"darwin, nixpkgs-23.11pre519165.cddebdb60de3"`
- nixpkgs: `/Users/rmanne/.nix-defexpr/channels/nixpkgs`
Indeed, all packages that are not available on Linux are not shown.
Another package that isn't shown: atk
.
Indeed, all packages that are not available on Linux are not shown.
But this one is actually available on Linux
Another package that isn't shown:
atk
.
Where is that even defined? I can only find atkmm
in the nixpkgs source. There's no directory named "atk" (find . -type d -name atk
returns nothing), and no .nix
file containing the string name = "atk"
. How can you even install that package?
How can you even install that package
I can specify the package in buildInputs
in a mkDerivation
(I use NixOS)