Skip to content

Commit 0b08811

Browse files
committed
haskellPackages.hw-json-simd: build with gcc11, unbreak
1 parent ba00fea commit 0b08811

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2562,4 +2562,9 @@ self: super: {
25622562
# bytestring <0.11.0, optparse-applicative <0.13.0
25632563
# https://github.com/kseo/sfnt2woff/issues/1
25642564
sfnt2woff = doJailbreak super.sfnt2woff;
2565+
2566+
# c2hs fails to build intrinsics from gcc{12,13,14}
2567+
hw-json-simd = lib.pipe super.hw-json-simd ([
2568+
unmarkBroken
2569+
] ++ (lib.optional pkgs.stdenv.cc.isGNU (appendConfigureFlags [ "--with-gcc=${pkgs.gcc11}/bin/gcc" ])));
25652570
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

0 commit comments

Comments
 (0)