diff --git a/pkgs/development/compilers/ghc/8.10.1.nix b/pkgs/development/compilers/ghc/8.10.1.nix index 9da80fa5c207..727fc91451e2 100644 --- a/pkgs/development/compilers/ghc/8.10.1.nix +++ b/pkgs/development/compilers/ghc/8.10.1.nix @@ -24,7 +24,7 @@ enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform # aarch64 outputs otherwise exceed 2GB limit -, enableProfiliedLibs ? !stdenv.targetPlatform.isAarch64 +, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64 , # Whether to build dynamic libs for the standard library (on the target # platform). Static libs are always built. @@ -68,7 +68,7 @@ let HADDOCK_DOCS = NO BUILD_SPHINX_HTML = NO BUILD_SPHINX_PDF = NO - '' + stdenv.lib.optionalString (!enableProfiliedLibs) '' + '' + stdenv.lib.optionalString (!enableProfiledLibs) '' GhcLibWays = "v dyn" '' + stdenv.lib.optionalString enableRelocatedStaticLibs '' GhcLibHcOpts += -fPIC diff --git a/pkgs/development/compilers/ghc/8.8.3.nix b/pkgs/development/compilers/ghc/8.8.3.nix index c22327efce36..aa4c378f200b 100644 --- a/pkgs/development/compilers/ghc/8.8.3.nix +++ b/pkgs/development/compilers/ghc/8.8.3.nix @@ -23,6 +23,9 @@ , # If enabled, use -fPIC when compiling static libs. enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform + # aarch64 outputs otherwise exceed 2GB limit +, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64 + , # Whether to build dynamic libs for the standard library (on the target # platform). Static libs are always built. enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt @@ -30,9 +33,6 @@ , # Whether to build terminfo. enableTerminfo ? !stdenv.targetPlatform.isWindows - # aarch64 outputs otherwise exceed 2GB limit -, enableProfiliedLibs ? !stdenv.targetPlatform.isAarch64 - , # What flavour to build. An empty string indicates no # specific flavour and falls back to ghc default values. ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) @@ -68,7 +68,7 @@ let HADDOCK_DOCS = NO BUILD_SPHINX_HTML = NO BUILD_SPHINX_PDF = NO - '' + stdenv.lib.optionalString (!enableProfiliedLibs) '' + '' + stdenv.lib.optionalString (!enableProfiledLibs) '' GhcLibWays = "v dyn" '' + stdenv.lib.optionalString enableRelocatedStaticLibs '' GhcLibHcOpts += -fPIC diff --git a/pkgs/development/compilers/ghc/8.8.4.nix b/pkgs/development/compilers/ghc/8.8.4.nix index 515ff2d646b8..60c0f2cdd9d1 100644 --- a/pkgs/development/compilers/ghc/8.8.4.nix +++ b/pkgs/development/compilers/ghc/8.8.4.nix @@ -24,7 +24,7 @@ enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform # aarch64 outputs otherwise exceed 2GB limit -, enableProfiliedLibs ? !stdenv.targetPlatform.isAarch64 +, enableProfiledLibs ? !stdenv.targetPlatform.isAarch64 , # Whether to build dynamic libs for the standard library (on the target # platform). Static libs are always built. @@ -68,7 +68,7 @@ let HADDOCK_DOCS = NO BUILD_SPHINX_HTML = NO BUILD_SPHINX_PDF = NO - '' + stdenv.lib.optionalString (!enableProfiliedLibs) '' + '' + stdenv.lib.optionalString (!enableProfiledLibs) '' GhcLibWays = "v dyn" '' + stdenv.lib.optionalString enableRelocatedStaticLibs '' GhcLibHcOpts += -fPIC