mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-26 10:05:39 +03:00
optionsAsciiDoc is a file now
This commit is contained in:
parent
baa515d88e
commit
ad9e564308
@ -8,10 +8,12 @@ let
|
|||||||
options = eval.options;
|
options = eval.options;
|
||||||
};
|
};
|
||||||
|
|
||||||
in (pkgs.writeText "agent-options" ''
|
in (pkgs.runCommand "agent-options.adoc" { } ''
|
||||||
|
cat >$out <<EOF
|
||||||
= Arion options
|
= Arion options
|
||||||
|
|
||||||
${options.optionsAsciiDoc}
|
EOF
|
||||||
|
cat ${options.optionsAsciiDoc} >>$out
|
||||||
'').overrideAttrs (o: {
|
'').overrideAttrs (o: {
|
||||||
# Work around https://github.com/hercules-ci/hercules-ci-agent/issues/168
|
# Work around https://github.com/hercules-ci/hercules-ci-agent/issues/168
|
||||||
allowSubstitutes = true;
|
allowSubstitutes = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user