diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2018-07-15 16:27:26 +0800 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2018-08-07 09:25:35 +0200 |
commit | e4a61c8b6e898f111026832eca374d7cb8969251 (patch) | |
tree | 91aed45c1906d1f81481106d50281e22ac17af98 /pkgs/development/haskell-modules/generic-builder.nix | |
parent | 10b923930cb7492d9a05ba5fc76d858454078127 (diff) | |
download | nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar.gz nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar.bz2 nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar.lz nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar.xz nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.tar.zst nixlib-e4a61c8b6e898f111026832eca374d7cb8969251.zip |
[haskell/generic-builder] windows always has an active library
This commit is not really correct. The `hasActiveLibrary` check is wrong. We can have an active library even if we do not ask for a static lirbary or dynamic one; we can still have just a set of objet files and archives.
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 80274f515c52..f6fa1fdd9591 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -112,7 +112,7 @@ let main = defaultMain ''; - hasActiveLibrary = isLibrary && (enableStaticLibraries || enableSharedLibraries || enableLibraryProfiling); + hasActiveLibrary = isLibrary && (enableStaticLibraries || enableSharedLibraries || enableLibraryProfiling || hostPlatform.isWindows); # We cannot enable -j<n> parallelism for libraries because GHC is far more # likely to generate a non-determistic library ID in that case. Further |