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

while running nix develop, giving out error The path ~gitconfig can not be resolved in pure mode #6821

Open
RoninRevived opened this issue Jul 19, 2022 · 2 comments
Labels

Comments

@RoninRevived
Copy link

Describe the bug
While running nix develop I am getting an error ,
The path ~gitconfig cannot be resolved in pure mode

I have already verified gitconfig file
Steps To Reproduce

  1. Go to terminal
  2. run nix develop
  3. See error output below

image

nix-env --version output 2.10.1

@infinisil
Copy link
Member

This is by design since ~ is impure, see #6698

@thufschmitt
Copy link
Member

Oh I'm sorry, I meant to make this less brutal (see NixOS/nixpkgs#179172 (comment)) but never went around to actually implement it (And I won't be able in the short term either :/)

Anyone willing to pick that up though, it should be easy to just make it return an hardcoded path – the diff of #6698 should give some good hints as to what to change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants