-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Period in username not "escaped" #135
Comments
Could paste the output with --verbose? |
for reference, |
it seems we need to handle the dot to pass it properly to nix build |
This line "{}#homeConfigurations.{}.config.home.activationPackage", should be changed to "{}#homeConfigurations.\"{}\".config.home.activationPackage", that won't effect anyone who doesn't have a . |
This line is for nixos, could be useful there too, it doesn't harm. |
I'm curious about how @horriblename deals with this on a daily basis, as apparently shells like bash and fish interpret the quotes. Dumping the received argv[1] shows the following:
HM adds the escaped quotes here: https://github.com/nix-community/home-manager/blob/afd2021bedff2de92dfce0e257a3d03ae65c603d/home-manager/home-manager#L213 |
I don't recall ever needing to type literal |
Originally suggested by [@ToyVo](viperML#135 (comment)) Fixes: viperML#135
on my work laptop my username is "firstname.lastname" and running
nh home switch .
gives this error:-c firstname.lastname
doesn't help eitherThe text was updated successfully, but these errors were encountered: