Skip to content

enable nix#7

Draft
maxdeliso wants to merge 10 commits into
mainfrom
enable-nix
Draft

enable nix#7
maxdeliso wants to merge 10 commits into
mainfrom
enable-nix

Conversation

@maxdeliso

Copy link
Copy Markdown
Owner

No description provided.

This prevents Garnix from rebuilding GHC from source by configuring
the haskell.nix (IOG) and Garnix binary caches. This should fix
timeout and disk space issues.
Exclude darwin static builds since musl only works on Linux.
This should prevent Garnix from trying to build static packages
on aarch64-darwin which causes errors.
GHC 9.6.7 fails to build on aarch64-linux when Garnix doesn't use
the IOG cache (tries to build from source). The build hits a known
compilation error in GHC's hp2ps utility.

Once Garnix accepts flake nixConfig and uses IOG cache, we can
re-enable these builds.
Garnix is ignoring nixConfig and building GHC 9.6.7 from source,
which fails on both x86_64-linux and aarch64-linux with compilation
errors in GHC's hp2ps utility.

All builds requiring GHC are disabled until Garnix is configured to
use the IOG cache (needs --accept-flake-config or dashboard setting).

See garnix.yaml comments for details on how to re-enable.
Only building static packages on x86_64-linux. These use musl and
may work even if GHC cache isn't fully configured. Regular packages
and devShells remain disabled until Garnix cache issue is resolved.
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