Closed rahulmutt closed 6 years ago
rahulmutt opened this request on my behalf, but I am definitely out of my comfort zone. When commenting out the dependency to unix
, too many functions in MissingH
have compile errors. I think the best way is to leave MissingH
as it is and patch unix
, because it is the root cause. I am not good enough in Haskell or Eta to do this myself.
@scameronde For now what you can do is comment out those modules which are causing errors in the cabal file. I'm sure the non-platform specific functions will be useful to others as well. Later, someone else can update the patch and properly patch out the unix
functions.
The reason we haven't patched unix
yet is that we haven't found a clean way to shim all the required functions and keep it API-compatible.
@scameronde I just patched MissingH-1.4.0.1
. You should be able to use it now!
The
unix
dependency needs to be commented out and all the missing functions should be replaced with a Java standard library shim (if possible). If not possible, the definition of the function can be replaced with anerror "[message-here]"
expression for now.