The tls package currently has this override in pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
tls = appendConfigureFlags
(lib.optionals pkgs.stdenv.hostPlatform.isAarch64 [ "--ghc-option=-fllvm" ])
super.tls;
However this doesn't work because ghc is not wrapped with a suitable llvm installation so when you attempt to build the package you get errors along the lines of:
Building library for tls-1.6.0..
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [11 and 16)
cc @sternenseemann
The
tlspackage currently has this override inpkgs/development/haskell-modules/configuration-ghc-9.6.x.nixHowever this doesn't work because
ghcis not wrapped with a suitable llvm installation so when you attempt to build the package you get errors along the lines of:cc @sternenseemann