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:
Anton Latukha 2020-09-13 14:10:27 +03:00 committed by GitHub
parent 83c5cea9a4
commit 1beaf46cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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