From c38c374fa62607800084542d31f00b422e00fd64 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 27 Oct 2019 11:42:40 +0100 Subject: [PATCH] Work around Nix enforcing cross-system fetch bug https://github.com/hercules-ci/hercules-ci-agent/issues/168 --- docs/options.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/options.nix b/docs/options.nix index 3d3c484..b4c2a8f 100644 --- a/docs/options.nix +++ b/docs/options.nix @@ -8,8 +8,11 @@ let options = eval.options; }; -in pkgs.writeText "agent-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; +})