diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-20 17:57:35 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-06-20 18:40:53 -0400 |
commit | fd7a6ea0aff44e90b999958c58cc3acc8579ae72 (patch) | |
tree | f815aa5f6e594e8eb4c7adf4bd7436fa0c5972a4 /pkgs/development/compilers/ghc/8.2.2.nix | |
parent | 17621f63eb1c257e84490a825c1e9a212e0826af (diff) | |
download | nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar.gz nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar.bz2 nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar.lz nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar.xz nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.tar.zst nixpkgs-fd7a6ea0aff44e90b999958c58cc3acc8579ae72.zip |
haskell: make generic builder follow compiler’s shared config
enableShared in generic-builder.nix should default to what the GHC compiler was compiled with. Add a passthru to all of the GHC compilers to hold the value of enableShared. If enableShared is not set in the GHC we just use false as the default value for enableSharedLibraries. Note: I may have missed some compilers. Only GHC & GHCJS are covered by this commit but this shouldn’t break evaluation of anything else.
Diffstat (limited to 'pkgs/development/compilers/ghc/8.2.2.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/8.2.2.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix index 4e9eff06f26..0aa573ed6d1 100644 --- a/pkgs/development/compilers/ghc/8.2.2.nix +++ b/pkgs/development/compilers/ghc/8.2.2.nix @@ -199,6 +199,7 @@ stdenv.mkDerivation rec { inherit bootPkgs targetPrefix; inherit llvmPackages; + inherit enableShared; # Our Cabal compiler name haskellCompilerName = "ghc-8.2.2"; |