Hi Artem,
I think currently the best you could do is to clone primitive's git repo
locally and install it from there, using `cd primitive; cabal install
--with-ghc=...`.
Note that you can run the test suite without these dependencies. The driver
skips the test if a dependency is not found. See
Hello devs,
Wiki page on testing says that in order to run all tests you have to
install additional packages:
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Running#AdditionalPackages
and kindly provides a command to do this:
cabal install