From dc5bf39bfe5bfb14d2cf03ec7fad92dfed726257 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 2 Sep 2015 16:51:35 +0200 Subject: [PATCH] haskell-generic-builder: improve meta.platforms vs. meta.hydraPlatforms logic hydraPlatforms now defaults to the value of meta.platforms rather than defaulting to ghc.meta.hydraPlatforms. This solution is, in fact, still sub-optimal. See https://github.com/NixOS/nixpkgs/issues/9608 for further details. --- pkgs/development/haskell-modules/generic-builder.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index c04d8fdb409a..3442e8730806 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -22,7 +22,8 @@ , enableStaticLibraries ? true , extraLibraries ? [], librarySystemDepends ? [], executableSystemDepends ? [] , homepage ? "http://hackage.haskell.org/package/${pname}" -, hydraPlatforms ? ghc.meta.hydraPlatforms or ghc.meta.platforms +, platforms ? ghc.meta.platforms +, hydraPlatforms ? platforms , hyperlinkSource ? true , isExecutable ? false, isLibrary ? !isExecutable , jailbreak ? false @@ -31,7 +32,6 @@ , doHaddock ? !stdenv.isDarwin || stdenv.lib.versionAtLeast ghc.version "7.8" , passthru ? {} , pkgconfigDepends ? [], libraryPkgconfigDepends ? [], executablePkgconfigDepends ? [], testPkgconfigDepends ? [] -, platforms ? ghc.meta.platforms , testDepends ? [], testHaskellDepends ? [], testSystemDepends ? [] , testTarget ? "" , broken ? false