Fix ghcjsDom's compiler detection

This commit is contained in:
Ryan Trinkle 2014-08-30 21:46:25 -04:00
parent 68648f5581
commit c1c4c85800

View File

@ -1,5 +1,5 @@
{ cabal, fetchgit, ghc, mtl
, buildType ? if (builtins.parseDrvName ghc.ghc.name).name == "ghcjs" then "jsffi" else "webkit"
, buildType ? if ghc.ghc.pname or null == "ghcjs" then "jsffi" else "webkit"
, ghcjsBase ? null # jsffi dependencies
, glib ? null, transformers ? null, gtk ? null, webkit ? null # webkit dependencies
}: