RISC-V/GHC: Difference between revisions

0x4A6F (talk | contribs)
Created page with "{{RISC-V/breadcrumb}} <span id="ghc"></span> === GHC === <code>cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')</code> see: * https://gitlab.haskell.org/ghc/ghc/-/issues/23179 * https://gitlab.haskell.org/ghc/ghc/-/issues/16783 * https://gitlab.haskell.org/ghc/ghc/-/issues/14903 * https://gitlab.haskell.org/ghc/ghc/-/commit/31e265c1df948d1bcc82d08affe995fd1d1c1438 * '''https://gitlab.haskell.org/ghc/ghc/-/issues/23519''' ← we need this..."
 
Add nix-output-monitor and xmonad to the package list. Add "see also" link to the PR that enables cross-building GHC.
Line 17: Line 17:
* ☐ exa
* ☐ exa
* ☐ pandoc
* ☐ pandoc
* ☐ nix-output-monitor
* ☐ xmonad
* does cross-compile though when building unregisterised
* does cross-compile though when building unregisterised


Line 155: Line 157:


See https://github.com/AlexandreTunstall/nixos-riscv for an example of a pure flake that uses this trick to compile Haskell programs for RISC-V.
See https://github.com/AlexandreTunstall/nixos-riscv for an example of a pure flake that uses this trick to compile Haskell programs for RISC-V.
== See also ==
* [https://github.com/NixOS/nixpkgs/pull/243619 Nixpkgs PR 243619 (fix cross-built native GHC)]