Skip to content

pkgsStatic.haskell.packages.ghc98: disable failing haddockPhase#275609

Merged
maralorn merged 2 commits intoNixOS:masterfrom
sternenseemann:ghc981-static
Jan 1, 2024
Merged

pkgsStatic.haskell.packages.ghc98: disable failing haddockPhase#275609
maralorn merged 2 commits intoNixOS:masterfrom
sternenseemann:ghc981-static

Conversation

@sternenseemann
Copy link
Member

Description of changes

cc @angerman @bgamari

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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (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.

Testing GHC 9.2.8 is not that valuable anymore. Having an explicit GHC
9.4.8 target duplicates the default haskellPackages targets for now, but
prevents us from loosing testing of the make build system going forward.
In this situation, haddock would not be built by hadrian, as there is no
stage0:exe:haddock target by default. (We should eventually try adding
one.) If haddock is enabled and the build->host haddock missing, Cabal
tries using the build->build haddock which may fail to load the
documentation from the interface files produced by the build->host
GHC (e.g. due to a mismatch between dynamic and static linking).

Add regression tests to haskell-updates jobset.

Resolves NixOS#275304.
@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Dec 20, 2023
@sternenseemann sternenseemann linked an issue Dec 20, 2023 that may be closed by this pull request
@angerman
Copy link
Contributor

Yes, that's what I had in mind.

@ofborg ofborg 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 Dec 20, 2023
@maralorn
Copy link
Member

maralorn commented Jan 1, 2024

Thx!

@maralorn maralorn merged commit f3963e1 into NixOS:master Jan 1, 2024
@sternenseemann sternenseemann deleted the ghc981-static branch January 2, 2024 09:47
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.

GHC >= 9.6 TemplateHaskell doesn't work in pkgsStatic

3 participants