{ hostPlatform, ghc , mkDerivation, base, base64-bytestring, bytestring, filepath, stdenv, text, transformers , transformers-base, ref-tf, primitive, monad-control, reflex, reflex-dom , jsaddle , android-activity ? null, jsaddle-wkwebview ? null, ghcjs-dom ? null }: let isAndroid = hostPlatform.libc == "bionic"; isIOS = hostPlatform.isDarwin && hostPlatform.isAarch64; isGhcjs = ghc.isGhcjs or false; in mkDerivation { pname = "obelisk-executable-config-lookup"; version = "0.1"; src = ./.; libraryHaskellDepends = [ base bytestring filepath text transformers transformers-base ref-tf primitive monad-control reflex reflex-dom jsaddle ] ++ (if isAndroid then [ android-activity ] else if isIOS then [ jsaddle-wkwebview ] else if isGhcjs then [ ghcjs-dom ] else [ ]); license = stdenv.lib.licenses.bsd3; }