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

fix: allow caddy dataDir with spaces #1280

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

RafaelKr
Copy link
Contributor

I have a project example path of /home/user/coding/my projects/devenv-project.

When running devenv up the caddy logs show:
/nix/store/2diacl69qsxagwr73f1ykc5j750sln0j-caddy: line 2: projects/devenv-project/.devenv/state/caddy/data: No such file or directory

caddy tries to use projects/devenv-project/.devenv/state/caddy as dataDir instead of /home/user/coding/my projects/devenv-project/.devenv/state/caddy.

This PR quotes the XDG_*_HOME paths so they can also contain spaces.

@domenkozar domenkozar merged commit 0dac15d into cachix:main Jun 17, 2024
@RafaelKr RafaelKr deleted the fix-caddy-datadir branch June 17, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants