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

Implement NIX_PATH #30

Closed
gytis-ivaskevicius opened this issue Apr 13, 2021 · 5 comments
Closed

Implement NIX_PATH #30

gytis-ivaskevicius opened this issue Apr 13, 2021 · 5 comments

Comments

@gytis-ivaskevicius
Copy link
Owner

This is more of a question than an issue.
@blaggacao @Pacman99 - if we were to compare master vs staging branches - currently NIX_PATH implementation does not exist there. (https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/modules/saneFlakeDefaults.nix)

I am considering re-adding it with nixpkgs definition only. What are your guy's thoughts on it? And how should it be implemented?

Note: I'd like to avoid linking nixpkgs via environment.etc

Related: #5

@Pacman99
Copy link
Collaborator

I think there are some conveniences to nix path, like nix repl "<nixpkgs>", that I use. So I think it would be nice.

@blaggacao
Copy link
Collaborator

I have no opinion, other than I guess we agree, it should go away at some point in the future.

@gytis-ivaskevicius
Copy link
Owner Author

from my point of view its mostly used for nix-shell -p :D

Also, not sure if you guys noticed but there is a pretty cool nix repl implemented as part of this flake

@gytis-ivaskevicius
Copy link
Owner Author

Closing due to lack of interest from pretty much everybody

@noonien
Copy link

noonien commented Dec 9, 2021

If anyone else is wondering, after setting nix.linkInputs = true;, setting nix. nixPath = [ "/etc/nix/inputs" ]; is enough to make all inputs available to nix. This makes nix-shell -p work again, even after updating.

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

4 participants