You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{inputs={nixpkgs.url="github:NixOS/nixpkgs/nixos-unstable";# use this fork for git repositoryflake-compat={url="github:inclyc/flake-compat";flake=false;};};outputs={nixpkgs,nixos-privates, ... }@inputs: {foo=nixpkgs.lib.mkIftrue;# ^ goto definition works here (and more)!nixosConfigurations."vbox"=nixpkgs.lib.nixosSystem{system="x86_64-linux";modules=[({config,pkgs,inputs, ... }:
{networking.hostName="vbox";boot.kernelPackages=pkgs.linuxPackages_6_6;boot.loader={systemd-boot.enable=true;efi.canTouchEfiVariables=true;grub={efiSupport=true;device="nodev";};};system.stateVersion="23.11";})];specialArgs={inheritinputs;};};};}
Currently the frontend (parser) does not support attrpath at all. We recently merged libnixf as the new parser, but it is currently not working with the Controller. The controller utilizes a parser cherry-picked from NixOS/nix repo, which does not allow us find attrpaths correctly.
Contributions are welcomed if you would like to do such thing, or just offload some of my work.
flake.nix
.nixd.json
Working:
Working:
Not working:
Maybe related logs:
The text was updated successfully, but these errors were encountered: