optionsAsciiDoc is a file now
This commit is contained in:
parent
baa515d88e
commit
ad9e564308
1 changed files with 4 additions and 2 deletions
|
@ -8,10 +8,12 @@ let
|
|||
options = eval.options;
|
||||
};
|
||||
|
||||
in (pkgs.writeText "agent-options" ''
|
||||
in (pkgs.runCommand "agent-options.adoc" { } ''
|
||||
cat >$out <<EOF
|
||||
= Arion options
|
||||
|
||||
${options.optionsAsciiDoc}
|
||||
EOF
|
||||
cat ${options.optionsAsciiDoc} >>$out
|
||||
'').overrideAttrs (o: {
|
||||
# Work around https://github.com/hercules-ci/hercules-ci-agent/issues/168
|
||||
allowSubstitutes = true;
|
||||
|
|
Loading…
Reference in a new issue