We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a53c5 commit 64a2746Copy full SHA for 64a2746
overlays/ghc.nix
@@ -2,7 +2,10 @@ self: super: with super;
2
# sadly we need to patch GHC a bit.
3
let
4
ghcPkgOverrides = {
5
- enableShared = super.stdenv.targetPlatform == super.stdenv.hostPlatform;
+ # Required for cross-compilation, otherwise it throws
6
+ # Failed to load interface for ‘GHC.Integer.Type’
7
+ # Perhaps you haven't installed the "dyn" libraries for package ‘integer-gmp-1.0.2.0’?
8
+ enableShared = super.stdenv.buildPlatform == super.stdenv.hostPlatform;
9
enableIntegerSimple = false;
10
} // lib.optionalAttrs self.stdenv.hostPlatform.isAarch32 {
11
enableRelocatableStaticLibs = false;
0 commit comments