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
Providing links for flake references like url = "github:zhaofengli/nix-homebrew"; is really convenient — would it be possible to resolve registry flakes as well? For example, I have some pinned entries that would be nice to link to:
inputs={nixpkgs.url="flake:nixpkgs/nixos-24.05";nixos-unstable.url="flake:nixpkgs/nixos-unstable";nixpkgs-darwin.url="flake:nixpkgs/nixpkgs-24.05-darwin";nixpkgs-unstable.url="flake:nixpkgs/nixpkgs-unstable";nix-homebrew={url="github:zhaofengli/nix-homebrew";# <-- This one becomes a link, awesome!inputs.nixpkgs.follows="nixpkgs-darwin";inputs.nix-darwin.follows="nix-darwin";};}
I am guessing that some metadata about these are already evaluated at some point, since go-to-definition works on their store paths, so maybe it's just a matter of plumbing through a bit of extra metadata somewhere? Thanks!
The text was updated successfully, but these errors were encountered:
Providing links for flake references like
url = "github:zhaofengli/nix-homebrew";
is really convenient — would it be possible to resolve registry flakes as well? For example, I have some pinned entries that would be nice to link to:These ultimately resolve to
github:
flake refs:I am guessing that some metadata about these are already evaluated at some point, since go-to-definition works on their store paths, so maybe it's just a matter of plumbing through a bit of extra metadata somewhere? Thanks!
The text was updated successfully, but these errors were encountered: