Work around Nix enforcing cross-system fetch bug

https://github.com/hercules-ci/hercules-ci-agent/issues/168
This commit is contained in:
Robert Hensing 2019-10-27 11:42:40 +01:00
parent dda66e104e
commit c38c374fa6

View file

@ -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;
})