@@ -2,7 +2,10 @@ self: super: with super;
22 # sadly we need to patch GHC a bit.
33 let
44 ghcPkgOverrides = {
5− enableShared = super.stdenv.targetPlatform == super.stdenv.hostPlatform;
5+ # 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;
69 enableIntegerSimple = false;
710 } // lib.optionalAttrs self.stdenv.hostPlatform.isAarch32 {
811 enableRelocatableStaticLibs = false;