Adjust docs

This commit is contained in:
Robert Hensing 2022-06-09 01:18:22 +02:00
parent fa48a5241e
commit 42146bb0b2
2 changed files with 2 additions and 4 deletions
nix/upstreamable
src/haskell/exe

View file

@ -79,9 +79,7 @@ let
/* Function to derivation of the docker compose yaml file
NOTE: The output will change: https://github.com/hercules-ci/arion/issues/82
This function is particularly useful on CI. On Nixpkgs >= 20.09 this will
not store the image tarballs but executables to produce them reliably via
streamLayeredImage.
This function is particularly useful on CI.
*/
build = args@{...}:
let composition = eval args;

View file

@ -60,7 +60,7 @@ parseOptions = do
<> help "Use Nix expression EXPR to get the Nixpkgs attrset used for bootstrapping \
\and evaluating the configuration." )
showTrace <- flag False True (long "show-trace"
<> help "Causes Nix to print out a stack trace in case of Nix expression evaluation errors.")
<> help "Causes Nix to print out a stack trace in case of Nix expression evaluation errors. Specify before command.")
-- TODO --option support (https://github.com/pcapriotti/optparse-applicative/issues/284)
userNixArgs <- many (T.pack <$> strOption (long "nix-arg" <> metavar "ARG" <> help "Pass an extra argument to nix. Example: --nix-arg --option --nix-arg substitute --nix-arg false"))
prebuiltComposeFile <- optional $ strOption