@@ -30,7 +30,7 @@ library
3030 , openapi3
3131 , text
3232 , time
33− if !impl(ghcjs) && flag(postgres)
33+ if !(impl(ghcjs) || arch(javascript)) && flag(postgres)
3434 build-depends: postgresql-simple
3535 cpp-options: -DUSE_POSTGRES
3636 if flag(store)