diff --git a/hw-prim.cabal b/hw-prim.cabal
--- a/hw-prim.cabal
+++ b/hw-prim.cabal
@@ -1,7 +1,7 @@
 cabal-version:  2.2
 
 name:           hw-prim
-version:        0.6.2.35
+version:        0.6.2.36
 synopsis:       Primitive functions and data types
 description:    Primitive functions and data types.
 category:       Data
@@ -34,7 +34,7 @@
 common criterion            { build-depends: criterion            >= 1.2        && < 1.6    }
 common directory            { build-depends: directory            >= 1.2        && < 1.4    }
 common exceptions           { build-depends: exceptions           >= 0.8        && < 0.11   }
-common ghc-prim             { build-depends: ghc-prim                                       }
+common ghc-prim             { build-depends: ghc-prim             >= 0.5        && < 0.6    }
 common hedgehog             { build-depends: hedgehog             >= 0.5        && < 1.1    }
 common hspec                { build-depends: hspec                >= 2.4        && < 2.8    }
 common hw-hspec-hedgehog    { build-depends: hw-hspec-hedgehog    >= 0.1        && < 0.2    }
