Skip to content

Network access required during compilation #2160

Open
@ezzieyguywuf

Description

@ezzieyguywuf

The way elm is setup, it requires network access during the installation. This is made evident when trying to package elm using a system that sandboxes the network access, such as gentoo's portage.

To reproduce the error:

wget https://github.com/elm/compiler/archive/0.19.1.tar.gz
tar xvf 0.19.1.tar.gz
# disconnect network somehow
cabal build

I've been able to narrow down the issue to these few lines of code, however I'm not well-versed enough in Template Haskell to figure out what is going on.

Is it possible to modify the build so that it can complete without network access?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions