@@ -30,7 +30,7 @@ library
30 , openapi3
30 , openapi3
33− if !impl(ghcjs) && flag(postgres)
33+ if !(impl(ghcjs) || arch(javascript)) && flag(postgres)
34 build-depends: postgresql-simple
34 build-depends: postgresql-simple
35 cpp-options: -DUSE_POSTGRES
35 cpp-options: -DUSE_POSTGRES
36 if flag(store)
36 if flag(store)