-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Single-user installer botches the .profile file for weird home directories #5535
Labels
Comments
Good candidate for that installer test suite :) |
I am observing this in a fresh Debian installation provisioned with lima.
|
@abathur awesome, thanks for clarifying! |
I marked this as stale due to inactivity. → More info |
Here is an additional error case: If
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After installing Nix it says to load the nix.sh profile, like this:
however, if you have spaces in your name it breaks. It gets worse from there:
Unfortunately this is not the only problem. After installing Nix I get errors when logging in:
this is because these paths are not properly handled in the modifications to my .profile:
Steps To Reproduce
/ /\\/*/'/"
)Expected behavior
Nix should properly handle the $HOME variable contents, or leave expanding it to the caller.
nix-env --version
output2.4
Additional context
n/a
The text was updated successfully, but these errors were encountered: