@@ -2,7 +2,7 @@
22, doctest, filepath, ghc-prim, http-types, jsaddle, lens, primitive
33, process, QuickCheck, ref-tf, stdenv, stm, text, time
44, transformers, wai, wai-websockets, warp, websockets, osx_sdk
5−, darwin, webdriver, phantomjs
5+, darwin, webdriver, phantomjs, ghc
66}:
77mkDerivation {
88 pname = "jsaddle-warp";
@@ -10,9 +10,12 @@ mkDerivation {
1010 src = ./.;
1111 libraryHaskellDepends = [
1212 aeson base containers http-types jsaddle stm text time transformers
13− wai wai-websockets warp websockets osx_sdk darwin.libobjc
14− darwin.apple_sdk.libs.xpc
15− ];
13+ wai wai-websockets warp websockets
14+ ] ++ (if ghc.isGhcjs or false then [
15+ ] else if stdenv.isDarwin then [
16+# osx_sdk darwin.libobjc darwin.apple_sdk.libs.xpc
17+ ] else [
18+ ]);
1619 testHaskellDepends = [
1720 base bytestring deepseq doctest filepath ghc-prim jsaddle lens
1821 primitive process QuickCheck ref-tf webdriver phantomjs