Repository navigation
Conversation
|
This is my first time dealing with haskellPackages, so please let me know if everything looks right. Also due to the way the files are generated, I guess it probably will have rebuilds. So I'm not sure if master is the right one to point this into. Edit: 0 rebuilds, yay! |
thiagokokada
left a comment
There was a problem hiding this comment.
Approving but not really familiar with how Haskell packaging works.
Will wait until someone more familiar with Haskell to confirm that this is correct (I can merge once this is done).
|
I'll defer to @sternenseemann for the moment, because he is currently responsible for the haskell-updates branch (even though that doesn't target the branch, that doesn't really matter). We do mark packages as broken automatically, but only in general, I believe, not for specific platforms. I'm not 100% sure whether there is any tooling or mechanism to extend this to other platforms on our side, yet. |
sternenseemann
left a comment
There was a problem hiding this comment.
This is a misus of unsupported-platforms which is intended to denote a package does not support a certain platform. That these builds have succeeded in the past suggests that this is not the case.
Conditional broken state can be achieved via configuration-darwin.nix if desired.
c53c250 to
39d7d12
Compare
|
@sternenseemann I see, that makes sense. I followed some old commits but I was wondering how to properly mark as broken for haskellPackages. I applied the changes, thank you for the feedback! |
maralorn
left a comment
There was a problem hiding this comment.
Not a satisfying solution. I would really want this to be automatic and via cabal2nix config.
Still this is better than the status quo.
|
I think it's the least of our problems w.r.t. Darwin. These packages are not built by any CI anyone really looks at and no one is actively maintaining Haskell packages on Darwin. |
| # 2025-11-07: Broken since 2018 - https://github.com/NixOS/nixpkgs/pull/459465 | ||
| system-linux-proc = markBroken super.system-linux-proc; | ||
| # 2025-11-07: Broken since 2021 - https://github.com/NixOS/nixpkgs/pull/459465 | ||
| gerrit = markBroken super.gerrit; |
There was a problem hiding this comment.
(This seems to merely need the test suite to be disabled since it wants /usr/bin/security which we can't provide (?).)
There was a problem hiding this comment.
In my opinion if someone wants to get this working I think they can open a subsequent PR. It seems considering that this is broken since 2021 that nobody really cares about this package in darwin, so not worth to try to fix it to be honest.
| # 2025-11-07: Broken since 2021 - https://github.com/NixOS/nixpkgs/pull/459465 | ||
| gerrit = markBroken super.gerrit; | ||
| # 2025-11-07: Broken since 2023 - https://github.com/NixOS/nixpkgs/pull/459465 | ||
| copilot-c99 = markBroken super.copilot-c99; |
There was a problem hiding this comment.
(This is also pretty simple to work around, it just assumes gcc is available, so the test suite should be gated on stdenv.cc.isGnu (and presumably stdenv.cc.targetPrefix = "").)
There was a problem hiding this comment.
Same as the other comment.
|
I intended to include in this PR all haskellPackages that needs to be marked as broken or unsupported but as per #460343 I am stepping down as maintainer. Anyone wants to take over? I'm sorry for the trouble, I also have the following list with packages that don't have a last successful build date (needs a double check and to filter unsupported from broken ones): |
…ydra build from 2015 to 2024)
….nix Already defined in `configuration-hackage2nix/broken.yaml`.
39d7d12 to
3316cb7
Compare
|
CC @sternenseemann for a re-review. |
(generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh)
|
Due to the huge number of packages in haskell packages, I don't think marking these as broken manually will be maintainable. I think any effort spent should be towards an automated solution instead. |
I agree, but at the same time we have those packages just consuming Hydra resources without reason. So in my opinion we should merge the current PR and work in a way to automate the solution. But I am not a Haskell maintainer so I will defer the decision for those who maintain it. |
|
ZHF: #516381 |
Actions Taken:
Given how cryptic and niche the troubleshooting for Darwin failures can be, and considering the extended period these builds have been failing, this PR marks them as broken.
This action is necessary to conserve compute resources and avoid further waste on inevitable build failures.
Hydra logs:
2024
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.bytestring-encoding.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.bytestring-encoding.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.duckdb-haskell.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.duckdb-haskell.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.freetype2.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.freetype2.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.hlibgit2.x86_64-darwin (aarch64 seems fine)
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.memzero.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.memzero.aarch64-darwin (no last know)
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.rawfilepath.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.rawfilepath.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.reform-blaze.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.reform-blaze.aarch64-darwin
2023
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.HsHTSLib.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.HsHTSLib.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.copilot-c99.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.copilot-c99.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.epub-metadata.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.epub-metadata.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.error-codes.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.error-codes.aarch64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.zlib-bytes.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.zlib-bytes.aarch64-darwin
2021
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.gerrit.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.gerrit.aarch64-darwin (no last know)
2018
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.system-linux-proc.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.system-linux-proc.aarch64-darwin (no last know)
2017
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.gtk-traymanager.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.gtk-traymanager.aarch64-darwin (no last know)
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.pipes-zlib.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.pipes-zlib.aarch64-darwin (no last know)
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.pthread.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.pthread.aarch64-darwin (no last know)
2016
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.huckleberry.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.huckleberry.aarch64-darwin (no last know)
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.log.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.log.aarch64-darwin (no last know)
2015
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.hamid.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.hamid.aarch64-darwin (no last know)
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.