kevva / elm-bin

elm-platform bin-wrapper that makes it seamlessly available as a local dependency
MIT License
18 stars 5 forks source link

Installing on Arch Linux - no ELM_HOME? #7

Closed CaptainLexington closed 9 years ago

CaptainLexington commented 9 years ago

Installing this package on Arch Linux leaves me with no ELM_HOME environment variable. I was told this file (https://github.com/elm-lang/elm-platform/blob/master/installers/windows/inst.dat#L8-L24) tells me where ELM_HOME should point but none of the files there indicated are on my system. Have I missed a step?

kevva commented 9 years ago

This is not a installer, it only provides the binaries and doesn't set any environment variables. Also, it doesnt support Windows.

jvoigtlaender commented 9 years ago

@kevva, would you be willing to merge a pull request that adds the static files required for the debugger mode of elm-reactor? They are OS independent. People would still need to set the ELM_HOME environment variable by hand using whatever means their OS has for that. But at least they would have all necessary files on their machine after just npm install elm.

(This would also simplify things like building docker containers with a ready-to-go, and debugger-enabled, Elm installation, because no extra files would need to be fetched -- everything would be already included via the npm install command.)

passy commented 9 years ago

@jvoigtlaender I think that's a good idea. :+1:

jvoigtlaender commented 9 years ago

Still wondering: @kevva, would you accept a pull request as mentioned above (providing the static files required for the debugger mode of elm-reactor)?

kevva commented 9 years ago

@jvoigtlaender, yes, of course :).

jvoigtlaender commented 9 years ago

Done: https://github.com/kevva/elm-bin/pull/15.

CaptainLexington commented 9 years ago

Thanks so much!