-
Notifications
You must be signed in to change notification settings - Fork 36
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
direnv: Use the same nix package #66
Conversation
@@ -121,6 +121,7 @@ | |||
# https://nixos.asia/en/direnv | |||
direnv = { | |||
enable = true; | |||
package = config.nix.package; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it nix-direnv.package instead of direnv.package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is already using config.nix.package
. I'll revert this PR for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srid the nix-direnv configuration above is from nixos modules and not from home-manager.
This has to be fixed in home-manager to match nixos module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's upstream that to hm: #68
In direnv, use the same Nix package as the user specifies here:
nix-dev-home/home/default.nix
Lines 9 to 12 in d9df14e
context: