diff --git a/docs/default.nix b/docs/default.nix index 5ea1d832..26a56891 100644 --- a/docs/default.nix +++ b/docs/default.nix @@ -236,7 +236,7 @@ with lib; let # Copy the generated MD docs into the build directory # Using pkgs.writeShellScript helps to avoid the "bash: argument list too long" error - ${pkgs.writeShellScript "copy_docs" docs.commands} + bash -e ${pkgs.writeShellScript "copy_docs" docs.commands} # Prepare SUMMARY.md for mdBook # Using pkgs.writeText helps to avoid the same error as above