Skip to content

Haskell feature won't install behind proxy needing explicit configuration via HTTP(S)_PROXY environment variables. #201

Description

@alaendle

sudo -iu "$_REMOTE_USER" <<EOF

is dropping all environment variables from the current shell. So we won't have http proxy settings available when calling curl

curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

leading to

 => => # curl: (6) Could not resolve host: get-ghcup.haskell.org

So so this basically a feature request to support using this feature behind a proxy that requires external configuration via HTTP_PROXY, HTTPS_PROXY environment variables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions