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

Build releases for arm and darwin? #205

Closed
marcusramberg opened this issue May 29, 2024 · 4 comments
Closed

Build releases for arm and darwin? #205

marcusramberg opened this issue May 29, 2024 · 4 comments

Comments

@marcusramberg
Copy link

For pre-commit hooks and such, would be nice if the releases provided binaries for the most common platforms.

@infinisil
Copy link
Member

Had a team meeting today, no concrete progress, but some discussion. The notes are a bit ad-hoc 😄:

  • Looked into building more release artifacts
  • 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
  • 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?
  • Build static executable without Nix?
    • Feels like a step back, less reproducible

@nixos-discourse
Copy link

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

@infinisil
Copy link
Member

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.

@infinisil infinisil closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Nix formatting Jan 7, 2025
@nixos-discourse
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants