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

Apply fixes from brew audit #11

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Apply fixes from brew audit #11

wants to merge 2 commits into from

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Jun 16, 2023

⚠️ This PR depends on #10 - I'll mark this ready after that one is merged

This PR is mostly formatting fixes suggested by brew audit.

The main fix of substance is that we were not specifying a git ref for the stable version
the git ref of the main branch was always used. This is now fixed by specifying the revision field on the juvix git URL.

We install GHC using the binary release directly because installation of
GHC via ghcup or via stack in the formula context is not reliable.

Specifially the GHC installation with ghcup or stack
fails *sometimes* (with about 1/5 frequency) when trying to create a
temporary directory within the temporary HOME directory used by the
formula build.

The GHC installer works reliably when invoked directly from the bindist
In particular we were not specifying a git ref for the stable version
the git ref of the `main` branch was always used. This is now fixed by
specifying the `revision` field on the juvix git URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant