cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
4.41k stars 331 forks source link

devenv causing issues when running `phx.new` #1577

Open multivac61 opened 5 hours ago

multivac61 commented 5 hours ago

Describe the bug Following the phoenix example tailwindcss lsp in phx new --install . should work the same as phx new --install hello && cd hello

See issue created in the phoenix repo: https://github.com/phoenixframework/phoenix/issues/5967

To reproduce

Try creating a blank phoenix project using

https://github.com/multivac61/phx_devenv

with a) the direnv devshell and b) nix shell nixpkgs#elixir. The latter one works fine.

Version

Paste the output of $ devenv version here or tell us if you're using flakes.

using flakes, devenv: 1.3.1

multivac61 commented 4 hours ago

Ugh, this turned out to be an implementation detail of direnv: https://github.com/direnv/direnv/wiki/Customizing-cache-location

multivac61 commented 4 hours ago

For some reason the repo did not like having the .direnv/ folder there

multivac61 commented 4 hours ago

Ah.. it also doesn't like having the .devenv/ folder there either...