Skip to content
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

Search results missing some packages #708

Open
rmanne opened this issue Nov 30, 2023 · 4 comments
Open

Search results missing some packages #708

rmanne opened this issue Nov 30, 2023 · 4 comments

Comments

@rmanne
Copy link

rmanne commented Nov 30, 2023

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:

  1. Search for "yabai" (direct link)
  2. Observe that there are no packages found
  3. Run nix-shell -p yabai
  4. 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

Screenshot 2023-11-29 at 21 12 38

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`
@iFreilicht
Copy link

Indeed, all packages that are not available on Linux are not shown.

@ChocolateLoverRaj
Copy link

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

@iFreilicht
Copy link

iFreilicht commented Apr 15, 2024

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?

@ChocolateLoverRaj
Copy link

How can you even install that package

I can specify the package in buildInputs in a mkDerivation (I use NixOS)

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

No branches or pull requests

3 participants