devenv: Bug devenv up not working with spaces in filenames

devenv up throws the following error. The folders in the path contains spaces.

`❯ devenv up • Building processes … • Using Cachix: nixpkgs-python, devenv error: builder for ‘/nix/store/flrnh49wxhdi1mn9gmf731f76r243h99-python3-3.12.2-env.drv’ failed with exit code 1; last 25 log lines: > <stdin>:81:6: error: makeCWrapper: Unknown argument Repos/zz-data-pipeline/.devenv/profile/lib:/nix/store/8x03s8ap4k07j7w96yjvag3ln512liwv-clang-16.0.6-lib/lib > #error makeCWrapper: Unknown argument Repos/zz-data-pipeline/.devenv/profile/lib:/nix/store/8x03s8ap4k07j7w96yjvag3ln512liwv-clang-16.0.6-lib/lib > ^ > <stdin>:83:6: error: makeCWrapper: Unknown argument M.I.K.E > #error makeCWrapper: Unknown argument M.I.K.E > ^ > <stdin>:84:6: error: makeCWrapper: Unknown argument Dropbox/Felix > #error makeCWrapper: Unknown argument Dropbox/Felix > ^ > <stdin>:85:6: error: makeCWrapper: Unknown argument Schneider/06 > #error makeCWrapper: Unknown argument Schneider/06 > ^ > <stdin>:86:6: error: makeCWrapper: Unknown argument Websites/03 > #error makeCWrapper: Unknown argument Websites/03 > ^ > <stdin>:87:6: error: makeCWrapper: Unknown argument Zuschuss > #error makeCWrapper: Unknown argument Zuschuss > ^ > <stdin>:88:6: error: makeCWrapper: Unknown argument Zentrale/_NEW > #error makeCWrapper: Unknown argument Zentrale/_NEW > ^ > <stdin>:89:6: error: makeCWrapper: Unknown argument Repos/zz-data-pipeline/.devenv/profile/lib:/nix/store/8x03s8ap4k07j7w96yjvag3ln512liwv-clang-16.0.6-lib/lib > #error makeCWrapper: Unknown argument Repos/zz-data-pipeline/.devenv/profile/lib:/nix/store/8x03s8ap4k07j7w96yjvag3ln512liwv-clang-16.0.6-lib/lib > ^ > 14 errors generated. For full logs, run ‘nix-store -l /nix/store/flrnh49wxhdi1mn9gmf731f76r243h99-python3-3.12.2-env.drv’. error: 1 dependencies of derivation ‘/nix/store/0a3gz7gvf9ml2kf73jb5869sy6i4jhna-devenv-profile.drv’ failed to build error: 1 dependencies of derivation ‘/nix/store/3yfak2lnfldch86v2nml9dajsm96r448-process-compose.yaml.drv’ failed to build error: error: 1 dependencies of derivation ‘/nix/store/1n8bc9ki62n5wg35hhf0l218y5fzqpvs-devenv-up.drv’ failed to build

✖ Command produced the following output:

✔ Building processes in 20.9s. Error: × Command /nix/store/hzi718k8wank3icd1liizx3apnxkhw0i-nix-2.21-devenv/bin/nix --show-trace --extra-experimental-features nix-command --extra-experimental-features flakes │ --option warn-dirty false --option eval-cache false --keep-going --max-jobs 6 build --no-link --print-out-paths .#procfileScript --option extra-substituters https://nixpkgs- │ python.cachix.org https://devenv.cachix.org --option extra-trusted-public-keys nixpkgs-python.cachix.org-1:hxjI7pFxTyuTHn2NkvWCrAUcNZLNS3ZAvfYNuYifcEU= devenv.cachix.org- │ 1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= failed with with exit code 1`

Make sure to include full logs and what you expected to happen.

Version

devenv 1.0.2 (x86_64-darwin)

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 3
  • Comments: 15 (4 by maintainers)

Commits related to this issue

Most upvoted comments

@eftichis0202, please, don’t close the issue. the underlying issue is with Nix and it’s not a straightforward fix. we will eventually get this fixed.

If you don’t wish to receive notifications about this, then you can unsubscribe from the issue.