Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore] Replace firefly with scotty in tests #305

Merged
merged 1 commit into from
Oct 14, 2024

Commits on Oct 13, 2024

  1. [Chore] Replace firefly with scotty in tests

    Problem: `firefly` depends on `regex-pcre`, which fails to build in
    certain configurations:
    
      regex-pcre > regex-pcre-0.95.0.0: library-dirs: /usr/lib is a relative path which makes no
      regex-pcre > sense (as there is nothing for it to be relative to). You can make paths
      regex-pcre > relative to the package database itself by using ${pkgroot}. (use --force to
      regex-pcre > override)
      regex-pcre > regex-pcre-0.95.0.0: dynamic-library-dirs: /usr/lib is a relative path which
      regex-pcre > makes no sense (as there is nothing for it to be relative to). You can make
      regex-pcre > paths relative to the package database itself by using ${pkgroot}. (use
      regex-pcre > --force to override)
    
    The problem only occurs with `stack` on Windows. Therefore, there are
    two possible workarounds: (a) use `cabal`, (b) drop Windows support.
    However, we would like to support both build tools on all platforms if
    possible.
    
    Solution: replace `firefly` with `scotty`, a different web server
    library that does not depend on `regex-pcre`.
    int-index committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    4a8d711 View commit details
    Browse the repository at this point in the history