Build releases for arm and darwin?
For pre-commit hooks and such, would be nice if the releases provided binaries for the most common platforms.
Had a team meeting today, no concrete progress, but some discussion. The notes are a bit ad-hoc :smile::
- Looked into building more release artifacts
- More automated releases, could copy somewhat from https://github.com/NixOS/nixpkgs-check-by-name/blob/main/scripts/release.sh
- GitHub actions?
- Problem: No ARM
- Could use cross compilation
- Nix-community ARM builders?
- Only for nix-community GitHub org
-
Larger runners?
- Only for paid GitHub plans, not sure if NixOS org has access
- Problem: No ARM
- Hydra (change
release.nix)?- Odd usecase of wanting a build without blocking releases, but could be done
- General problem: Static build requires building GHC, takes some time, should be fine in CI though
- Could also make Hydra just build a static GHC
- Dynamic executable, but nix-bundle that?
- Problem: Only supports Linux
- Don't bother with static executables?
- Motivation for having them: https://github.com/NixOS/nixfmt/issues/139
- Build static executable without Nix?
- Feels like a step back, less reproducible
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/formatting-team-meeting-2024-06-11/46878/1
Discussed in the meeting, closing this because we're dropping release artifacts and are recommending to use the Nixpkgs build instead. Please let use know if that doesn't work for you for some reason.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/formatting-team-meeting-2024-12-10-and-2025-01-07/58466/1