Skip to content

Commit

Permalink
Merge pull request #327322 from d-xo/fix-with-utf8-darwin-x86
Browse files Browse the repository at this point in the history
haskellPackages.with-utf8: fix build on x86 darwin.
  • Loading branch information
maralorn authored Jul 25, 2024
2 parents 9919b66 + 5f2e02b commit cd3e2a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -420,4 +420,9 @@ self: super: ({
"-p" "!/issue-108/"
];
}) super.ad;

# Fixes missing libcharset.h:
# https://hydra.nixos.org/build/259447667
# not sure why this is needed only on x86 darwin. is there potentially some deeper libiconv / stdenv issue?
with-utf8 = overrideCabal (_ : { extraLibraries = [pkgs.libiconv]; }) super.with-utf8;
})

0 comments on commit cd3e2a2

Please sign in to comment.