Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-hermetic Haskell toolchains #1320

Open
mboes opened this issue May 2, 2020 · 0 comments · May be fixed by #1466
Open

Non-hermetic Haskell toolchains #1320

mboes opened this issue May 2, 2020 · 0 comments · May be fixed by #1466
Labels
P3 minor: not priorized type: feature request

Comments

@mboes
Copy link
Member

mboes commented May 2, 2020

Is your feature request related to a problem? Please describe.

Remote build execution does not work well with "configure-like" repository rules, which autodetect paths in the execution environment and create symlinks to those. haskell_register_ghc_bindist() and haskell_register_ghc_nixpkgs() macros both use configure-like repository rules, so are unsuitable for RBE.

Describe the solution you'd like

It ought to be possible to create non-hermetic builds, like go_register_toolchains(version = "host"). For consistency with the existing macros, this could be called,

haskell_register_ghc_host()

This solution is also a catch-all for use cases other than RBE where neither bindists nor Nixpkgs are suitable, say a custom GHC on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 minor: not priorized type: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants