diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-18 19:33:05 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-23 10:27:42 -0400 |
commit | 9ce15ea60c8a93753d20a06d7f3dae6c867f7d10 (patch) | |
tree | 18e2db1569e92c1f26d1fb91e9d169d8df4a6253 /pkgs/development/compilers/ghc/8.2.2.nix | |
parent | 63e5b3ce716c9d10f024cc4aafca82146d76258e (diff) | |
download | nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar.gz nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar.bz2 nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar.lz nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar.xz nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.tar.zst nixpkgs-9ce15ea60c8a93753d20a06d7f3dae6c867f7d10.zip |
ghc: Normalize derivations
Diffstat (limited to 'pkgs/development/compilers/ghc/8.2.2.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/8.2.2.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix index dcc2852a341..2b876552a01 100644 --- a/pkgs/development/compilers/ghc/8.2.2.nix +++ b/pkgs/development/compilers/ghc/8.2.2.nix @@ -23,10 +23,8 @@ , # Whether to build dynamic libs for the standard library (on the target # platform). Static libs are always built. - enableShared ? - !(targetPlatform.isDarwin - # On iOS, dynamic linking is not supported - && (targetPlatform.isAarch64 || targetPlatform.isAarch32)) + enableShared ? true + , # Whether to backport https://phabricator.haskell.org/D4388 for # deterministic profiling symbol names, at the cost of a slightly # non-standard GHC API @@ -153,7 +151,10 @@ stdenv.mkDerivation rec { # masss-rebuild. crossConfig = true; - nativeBuildInputs = [ alex autoconf autoreconfHook automake ghc happy hscolour perl python3 sphinx ]; + nativeBuildInputs = [ + autoconf autoreconfHook automake perl python3 sphinx + ghc alex happy hscolour + ]; # For building runtime libs depsBuildTarget = toolsForTarget; |