From fd7a6ea0aff44e90b999958c58cc3acc8579ae72 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 20 Jun 2018 17:57:35 -0400 Subject: haskell: make generic builder follow compiler’s shared config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pkgs/development/compilers/ghc/7.10.3.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/development/compilers/ghc/7.10.3.nix') diff --git a/pkgs/development/compilers/ghc/7.10.3.nix b/pkgs/development/compilers/ghc/7.10.3.nix index 3dd320e02572..2a906d918aa3 100644 --- a/pkgs/development/compilers/ghc/7.10.3.nix +++ b/pkgs/development/compilers/ghc/7.10.3.nix @@ -177,6 +177,7 @@ stdenv.mkDerivation rec { inherit bootPkgs targetPrefix; inherit llvmPackages; + inherit enableShared; # Our Cabal compiler name haskellCompilerName = "ghc-7.10.3"; -- cgit 1.4.1