~toastal/sourcehut-asciidoc-renderer

c3afe2bede248cebd65f28553883486ecb862f21 — toastal 1 year, 17 days ago 093695c
string configureFlags no longer supported
1 files changed, 1 insertions(+), 7 deletions(-)

M flake.nix
M flake.nix => flake.nix +1 -7
@@ 21,15 21,9 @@
    {
      overlay.default = final: prev:
        let
          appendFlags = new: old:
            with builtins;
            if isString old then prev.lib.concatStringsSep " " ([ old ] ++ new)
            else if isList old then prev.lib.concatStringsSep " " (old ++ new)
            else (prev.lib.concatStringsSep " " new);

          of = prev.ocamlformat.overrideAttrs (old: {
            flambdaSupport = true;
            configureFlags = appendFlags [ "-O3" ] (old.configureFlags or null);
            configureFlags = (old.configureFlags or [ ]) ++ [ "-O3" ];
          });
        in
        {