@@ -234,7 +234,11 @@ library lib-base
234234 Streamly.Benchmark.Data.Stream.StreamD
235235 , Streamly.Benchmark.Data.Stream.StreamK
236236 , Streamly.Benchmark.Data.Stream.StreamDK
237− build-depends: streamly-benchmarks
237+ if impl(ghcjs)
238+ buildable: False
239+ else
240+ build-depends: streamly-benchmarks
241+ buildable: True
238242
239243benchmark base
240244-- benchmark base-o-1-space
@@ -244,7 +248,11 @@ benchmark base
244248 ghc-options: -with-rtsopts "-T -K36K -M16M"
245249 hs-source-dirs: Streamly/Benchmark/Data/Stream
246250 main-is: BaseStreams.hs
247− build-depends: lib-base
251+ if impl(ghcjs)
252+ buildable: False
253+ else
254+ build-depends: lib-base
255+ buildable: True
248256
249257benchmark base-o-n-heap
250258 import: bench-options
@@ -253,7 +261,11 @@ benchmark base-o-n-heap
253261 ghc-options: -with-rtsopts "-T -K36K -M64M"
254262 hs-source-dirs: Streamly/Benchmark/Data/Stream
255263 main-is: BaseStreams.hs
256− build-depends: lib-base
264+ if impl(ghcjs)
265+ buildable: False
266+ else
267+ build-depends: lib-base
268+ buildable: True
257269
258270benchmark base-o-n-stack
259271 import: bench-options
@@ -262,7 +274,11 @@ benchmark base-o-n-stack
262274 ghc-options: -with-rtsopts "-T -K1M -M16M"
263275 hs-source-dirs: Streamly/Benchmark/Data/Stream
264276 main-is: BaseStreams.hs
265− build-depends: lib-base
277+ if impl(ghcjs)
278+ buildable: False
279+ else
280+ build-depends: lib-base
281+ buildable: True
266282
267283benchmark base-o-n-space
268284 import: bench-options
@@ -271,7 +287,11 @@ benchmark base-o-n-space
271287 ghc-options: -with-rtsopts "-T -K32M -M32M"
272288 hs-source-dirs: Streamly/Benchmark/Data/Stream
273289 main-is: BaseStreams.hs
274− build-depends: lib-base
290+ if impl(ghcjs)
291+ buildable: False
292+ else
293+ build-depends: lib-base
294+ buildable: True
275295
276296executable nano-bench
277297 import: bench-options