Options/Parser: debugVersionOpt: comment: add `nix-build` note (#717)
[Remark](https://github.com/haskell-nix/hnix/pull/712#issuecomment-691654639) deserves a comment note in the source code.
This commit is contained in:
parent
83c5cea9a4
commit
1beaf46cd3
|
@ -199,6 +199,7 @@ versionOpt = shortVersionOpt <*> debugVersionOpt
|
|||
<> help "Show release version"
|
||||
)
|
||||
|
||||
-- 2020-09-13: NOTE: Does not work for direct `nix-build`s, works for `nix-shell` `cabal` builds.
|
||||
debugVersionOpt :: Parser (a -> a)
|
||||
debugVersionOpt = infoOption
|
||||
( concat
|
||||
|
|
Loading…
Reference in New Issue