Hi @chrisdone -- I was using optparse-simple to show the git hash when running LH, but somehow after updating to GHC 8.6.4 this stopped working. I've made a minimal example
at this repo:
https://github.com/ranjitjhala/hash-test
If you clone and build, you get the following:
rjhala@borscht ~/t/hash-test (master)> stack build --fast
...
rjhala@borscht ~/t/hash-test (master)> stack exec -- htest 0
Version 0.1.0.0, Git revision 5bbb05f54b8a2500ee2f32d96d443c5621c778f5 (dirty)
rjhala@borscht ~/t/hash-test (master)> stack exec -- htest 10
Version 0.1.0.0
The only difference between the two, is that:
- the first one is a modification of your code from
simpleVersion that uses $$tGitInfoCwd (instead of $$tGitInfoCwdTry);
- the second one directly uses
simpleVersion from Options.Applicative.Simple.
Any idea what may be going on?
Thanks!
Hi @chrisdone -- I was using
optparse-simpleto show the git hash when running LH, but somehow after updating to GHC 8.6.4 this stopped working. I've made a minimal exampleat this repo:
https://github.com/ranjitjhala/hash-test
If you clone and build, you get the following:
The only difference between the two, is that:
simpleVersionthat uses$$tGitInfoCwd(instead of$$tGitInfoCwdTry);simpleVersionfromOptions.Applicative.Simple.Any idea what may be going on?
Thanks!