elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

elm writes to HOME #109

Open sjmackenzie opened 8 years ago

sjmackenzie commented 8 years ago

So when using elm-make on nixos I get an error: elm-make: /homeless-shelter: createDirectory: permission denied (Permission denied)

This means elm-make is writing to $HOME and nix specifically doesn't allow this so it makes the problem obvious by throwing a homeless-shelter error.

Ideally one could pass a --home arg to elm-make which allows one to override the $HOME.

For more info see this issue: https://github.com/elm-lang/elm-make/issues/93 see the corresponding issue for elm-package: https://github.com/elm-lang/elm-package/issues/202