Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1740,6 +1740,21 @@ with haskellLib;
(appendPatches [ ./patches/pattern-arrows-add-fix-import.patch ])
];

# posix-waitpid - Fix CPid constructor import and version bounds
# Broken since 2011 (GHC 7.4+), marked broken in nixpkgs since 2016
# The original package has no repo however there's a fork with the
# fix at https://github.com/GaloisInc/posix-waitpid
posix-waitpid = lib.pipe super.posix-waitpid [
(overrideCabal (drv: {
postPatch = ''
substituteInPlace System/Posix/Waitpid.hs \
--replace 'import System.Posix.Types (CPid)' \
'import System.Posix.Types (CPid(..))'
'';
}))
doJailbreak
];

# 2024-03-19: Fix for mtl >= 2.3
cheapskate = lib.pipe super.cheapskate [
doJailbreak
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,6 @@ broken-packages:
- posix-acl # failure in job https://hydra.nixos.org/build/233222892 at 2023-09-02
- posix-filelock # failure in job https://hydra.nixos.org/build/252726822 at 2024-03-16
- posix-realtime # failure in job https://hydra.nixos.org/build/233191463 at 2023-09-02
- posix-waitpid # failure in job https://hydra.nixos.org/build/233206551 at 2023-09-02
- postcodes # failure in job https://hydra.nixos.org/build/233247290 at 2023-09-02
- postgis-trivial # failure in job https://hydra.nixos.org/build/295096168 at 2025-04-22
- postgres-embedded # failure in job https://hydra.nixos.org/build/233246098 at 2023-09-02
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/haskell-modules/hackage-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading