mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-23 09:38:12 +03:00
19 lines
401 B
Nix
19 lines
401 B
Nix
{ pkgs ? import ../nix {} }:
|
|
|
|
let
|
|
eval = pkgs.lib.evalModules {
|
|
modules = import ../src/nix/modules.nix;
|
|
};
|
|
options = pkgs.nixosOptionsDoc {
|
|
options = eval.options;
|
|
};
|
|
|
|
in (pkgs.writeText "agent-options" ''
|
|
= Arion options
|
|
|
|
${options.optionsAsciiDoc}
|
|
'').overrideAttrs (o: {
|
|
# Work around https://github.com/hercules-ci/hercules-ci-agent/issues/168
|
|
allowSubstitutes = true;
|
|
})
|