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

Lookup path syntax #58

Open
PicoGeyer opened this issue Dec 14, 2023 · 1 comment
Open

Lookup path syntax #58

PicoGeyer opened this issue Dec 14, 2023 · 1 comment

Comments

@PicoGeyer
Copy link

PicoGeyer commented Dec 14, 2023

I originally installed NixOS with version 22.11 and later transitioned my configuration to use flakes
I often use nix repl to explore the layout of nixpkgs, but lately I discovered that <nixpkgs>
still points to a 22.11 version of nixpkgs whereas my system is now on 23.11.

How can I set NIX_PATH such that it points to the current version of nixpkgs that I'm using as seen from the flake point of view?
I've seen: https://search.nixos.org/options?channel=23.11&show=nix.nixPath&from=0&size=50&sort=relevance&type=packages&query=nix.nixPath
But I'm not sure what I would set it to so that it follows the flake version of nixpkgs.

@infinisil infinisil changed the title Setting NIX_PATH to match system configuration flake. Lookup path syntax Apr 18, 2024
@infinisil
Copy link
Member

We're going to focus on lookup paths in general for this weeks Nix Hour, this Friday at 17:00 CET! If anybody has any extra questions about this topic, either:

  • Ask them in this issue in advance with a comment
  • Join the livestream and use the chat to ask questions live

@infinisil infinisil pinned this issue Apr 19, 2024
@infinisil infinisil unpinned this issue Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants