This package was originally in the cardano-node repo but was also used in cardano-cli. However this package exports a function gitRev but the way its built can result in an incorrect git hash.
The solution is the change the gitRev function into TH splce so that it will always be run at the call site.
Now that this operates correctly, it makes more sense for this package to be here so it can be used in any executable in the Cardano/Haskell stack.
This package was originally in the
cardano-node
repo but was also used incardano-cli
. However this package exports a functiongitRev
but the way its built can result in an incorrect git hash.The solution is the change the
gitRev
function into TH splce so that it will always be run at the call site.Now that this operates correctly, it makes more sense for this package to be here so it can be used in any executable in the Cardano/Haskell stack.