Skip to content

all library components that use backpack should be compiled with -j1 #245

Closed
@chessai

Description

@chessai

GHC cannot perform typechecking on "backpackified" code in parallel. All components affected must be built with -j1. Cabal seems smart enough to infer this and does the right thing (inserts -j1), but both haskell.nix and nixpkgs pass the same number to -j (i think $NIX_BUILD_CORES?), which causes a build-time failure (GHC sees -jN where N > 1 and aborts with an error message).

Backpack typechecking not supported with -j

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions