You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemd rejects the service unit due to whitespace in the environment
variable assignment, pointing to the repo path, being invalid for
systemds unit format.
See nix-community#6023 for
details.
The git-sync variable should also be escaped due to similar issues with
e.g. local git urls.
modified: modules/services/git-sync.nix
systemd rejects the service unit due to whitespace in the environment
variable assignment, pointing to the repo path, being invalid for
systemds unit format.
See nix-community#6023 for
details.
The git-sync variable should also be escaped due to similar issues with
e.g. local git urls.
modified: modules/services/git-sync.nix
The bug in home-manager should be fixed, but during testing I discovered that the git-sync version in nixpkgs is outdated, resulting in a similar bug with whitespaces.
PR bumping the git-sync version in nixpkgs has been linked for documentation.
systemd rejects the service unit due to whitespace in the environment
variable assignment, pointing to the repo path, being invalid for
systemds unit format.
See nix-community#6023 for
details.
The git-sync variable should also be escaped due to similar issues with
e.g. local git urls.
modified: modules/services/git-sync.nix
Are you following the right branch?
Is there an existing issue for this?
Issue description
This happens due to an improper unit environment. Example error message:
Example code:
Reason in code:
home-manager/modules/services/git-sync.nix
Line 19 in e834140
Path gets written verbatim to Environment variable in systemd unit. The resulting environment variable gets rejected by sysemd as invalid.
PR is in the works, I will link it to this issue later.
Maintainer CC
@colonelpanic8 @cab404 @ryane
System information
The text was updated successfully, but these errors were encountered: