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

`nix search` needs an explicitly name `nixpkgs` entry in `NIX_PATH` #140

Open
teehemkay opened this issue May 9, 2019 · 0 comments

Comments

@teehemkay
Copy link

commented May 9, 2019

nix search seems to break (returns no results).

Explicitly setting a named nixpkgs entry in NIX_PATH (e.g. nix.nixPath = [{ nixpkgs = "/nix/var/nix/profiles/per-user/root/channels/nixpkgs"; }]; ) corrects the issue.

N.B. In my case nixpkgs is a root channel (standard multi-user, Nix installation)

@teehemkay teehemkay changed the title `nix search` needs explicit `nixpkgs` in `NIX_PATH` `nix search` needs an explicit `nixpkgs` named entry in `NIX_PATH` May 9, 2019

@teehemkay teehemkay changed the title `nix search` needs an explicit `nixpkgs` named entry in `NIX_PATH` `nix search` needs an explicitly name `nixpkgs` entry in `NIX_PATH` May 9, 2019

matthewbauer referenced this issue in NixOS/nix May 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.