-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Make use of Nix flake registry instead of channel #167
Comments
In case it's helpful to you or others, my current workaround is to set |
On nixos it seems to be as easy as setting it to the flake input, no need to construct the URL yourself from the flake.lock or have a local path.
Not sure if this works on darwin although I don't know why it wouldn't. |
@LunNova, great point! I had forgotten that I was doing things the way I was so that the |
If flakes is enabled, it automatically should use |
I can confirm that using |
@srid @dfrankland I have flakes enabled and set
|
@anajuliabit I think you are experiencing #210, currently nix-index's command-not-found only suggests the flake commands if your user profile is with flakes, which I think only happens if you've run one of the |
@figsoda, you are correct |
I recently stopped using home-manager and nix-index broke. I’m also using flakes and setting NIX_PATH accordingly. I tried installing something (
What am I missing here? |
@anajuliabit You can try the workaround mentioned in the Zulip thread linked in #191 (comment) |
While nix-index detects the use of flakes if |
I would like
nix-index
to make use of a pinned version ofnixpkgs
that I set in the Nix registry, instead of Nix channels which I do not use and do not update.The text was updated successfully, but these errors were encountered: