-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
pkgs.<name>
always returns "attrname not found in attrset" when using without with pkgs;
statement
#629
Comments
Seems to be somewhat related to #551, but the issue didn't help me 😅 |
How about using the default configuration? |
You mean basically removing |
I just found out beginning to type returns some information. Hover (and other features?) still doesn't work though. I have no other extensions for nix installed. Just nix-ide. compressed.mp4 |
Seems to be strange. How about |
Interesting. As soon as I use 2024-12-20.23-00-42.mp4 |
pkgs.<name>
always returns "attrname not found in attrset"pkgs.<name>
always returns "attrname not found in attrset" when not using in conjunction with with pkgs;
pkgs.<name>
always returns "attrname not found in attrset" when not using in conjunction with with pkgs;
pkgs.<name>
always returns "attrname not found in attrset" when using without with pkgs;
statement
Seems to be a bug inside our AST analysis. Some heuristics applied in (In fact most of nix users write with expressions more instead of "select" expressions.) |
Describe the bug
When attempting to retrieve information about a specific package using
pkgs.<name>
, an error is consistently returned:Logs (Required)
Excerpt
Full
Configuration
~/.config/home-manager/.vscode/settings.json
~/.config/home-manager/flake.nix
To Reproduce
Steps to reproduce the behavior:
Create a new
flake.nix
file with the following minimal configuration:Create a Nix file named
test.nix
with the following content:Configure a VSCode settings file with the following content:
Open
test.nix
in VSCode and hover overpkgs.nixd
.Expected Behavior
Hovering over
pkgs.nixd
should display information about thenixd
package.Additional context
This might actually be just me not understanding how to properly configure nixd. If so please let me know :)
The text was updated successfully, but these errors were encountered: