diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index d08240cacf56..cf9dd3c715f5 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -523,8 +523,14 @@ builtins.intersectAttrs super { ) ); - # Needs help finding LLVM. - spaceprobe = addBuildTool self.buildHaskellPackages.llvmPackages.llvm super.spaceprobe; + # Forces the LLVM backend; upstream signalled intent to remove this + # in 2017: . + spaceprobe = overrideCabal (drv: { + postPatch = '' + substituteInPlace spaceprobe.cabal \ + --replace-fail '-fllvm ' "" + ''; + }) super.spaceprobe; # Tries to run GUI in tests leksah = dontCheck (