Skip to content

haskellPackages: fix GHC 9.12 on android #414317

Merged
alexfmpe merged 3 commits intoNixOS:haskell-updatesfrom
alexfmpe:ghc-9.12-android
Jul 13, 2025
Merged

haskellPackages: fix GHC 9.12 on android #414317
alexfmpe merged 3 commits intoNixOS:haskell-updatesfrom
alexfmpe:ghc-9.12-android

Conversation

@alexfmpe
Copy link
Member

@alexfmpe alexfmpe commented Jun 5, 2025

As seen in input-output-hk/haskell.nix@08efe5b

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Jun 5, 2025
@alexfmpe alexfmpe force-pushed the ghc-9.12-android branch 2 times, most recently from f19f494 to ae12f30 Compare June 5, 2025 19:32
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could not find an issue in ghc repo.
I can't tell whether this is a GHC issue in that it shouldn't assume these exist, an issue in whatever is providing ELF symbols for aarch64-android-prebuilt, or something else altogether.
cc @angerman @doyougnu

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's... the patch I'm applying here ?
I was asking whether it should be a GHC patch or there's something wrong with includes on android

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp, I reference it here but had forgotten to commit the file itself. git commit -a strikes again

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 5, 2025
@alexfmpe alexfmpe merged commit d5e837b into NixOS:haskell-updates Jul 13, 2025
17 of 18 checks passed
@alexfmpe alexfmpe deleted the ghc-9.12-android branch September 15, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants