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

haskell: pkgsStatic fixes #162374

Merged
merged 4 commits into from
Mar 17, 2022
Merged

Commits on Mar 9, 2022

  1. ghc: enable static RTS

    This change allows loading statically compiled libreries into a running
    GHC, thus fixing the build of haskell packages that use TemplateHaskell.
    See [1] for the details.
    
    Fixes issue NixOS#61575, NixOS#124284.
    
    [1]: https://www.tweag.io/blog/2020-09-30-bazel-static-haskell/
    rnhmjoj committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    3c5a1f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. haskellPackages.mkDerivation: check haddock availability

    This change makes the haskell builder run the haddockPhase only if the
    haddock program is availble (for example, it's not when cross-compiling).
    rnhmjoj committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    87e418c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9afd54a View commit details
    Browse the repository at this point in the history
  3. pkgsStatic.{haskellPackages,ghc}: default to BigNum

    This works around several build failures where programs attempt to link
    to the libgmp.so (which is not available), such as:
    
        Error loading shared library libgmp.so: No such file or directory
    rnhmjoj committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    a503a02 View commit details
    Browse the repository at this point in the history