elm-lang / elm-package

Command line tool to share Elm libraries
BSD 3-Clause "New" or "Revised" License
214 stars 66 forks source link

https_proxy do not work with standard configuration #292

Open crakjie opened 6 years ago

crakjie commented 6 years ago

when calling runhaskell /home/etienne/tools/BuildFromSource.hs 0.18 I got this error

elm-make: InvalidProxyEnvironmentVariable "https_proxy" "https://id:pwd@192.168.219.9:3128"

src/backend/StaticFiles.hs:50:5:
    Exception when trying to run compile-time code:
      ExitFailure 1
    Code: (=<<)
            bsToExp runIO (Build.compile ("src" </> "pages" </> "Errors.elm"))
    In the splice:
      $(bsToExp
        =<< runIO (Build.compile ("src" </> "pages" </> "Errors.elm")))

when http_proxy=https://ip:port

but command work is the env variable is set with http_proxy=ip:port ( without the scheme )

process-bot commented 6 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.