diff --git a/GHC/Platform/ArchOS.hs b/GHC/Platform/ArchOS.hs
--- a/GHC/Platform/ArchOS.hs
+++ b/GHC/Platform/ArchOS.hs
@@ -98,6 +98,7 @@
    | OSAIX
    | OSHurd
    | OSWasi
+   | OSGhcjs
    deriving (Read, Show, Eq, Ord)
 
 
@@ -157,3 +158,4 @@
   OSAIX       -> "aix"
   OSHurd      -> "hurd"
   OSWasi      -> "wasi"
+  OSGhcjs     -> "ghcjs"
diff --git a/ghc-boot.cabal b/ghc-boot.cabal
--- a/ghc-boot.cabal
+++ b/ghc-boot.cabal
@@ -5,7 +5,7 @@
 -- ghc-boot.cabal.
 
 name:           ghc-boot
-version:        9.6.1
+version:        9.6.3
 license:        BSD-3-Clause
 license-file:   LICENSE
 category:       GHC
@@ -77,7 +77,7 @@
                    directory  >= 1.2 && < 1.4,
                    filepath   >= 1.3 && < 1.5,
                    deepseq    >= 1.4 && < 1.5,
-                   ghc-boot-th == 9.6.1
+                   ghc-boot-th == 9.6.3
     if !os(windows)
         build-depends:
                    unix       >= 2.7 && < 2.9
