Skip to content

Build errors using GHC 9.8 due to missing (GHC-internal) library system-cxx-std-lib #200

Answered by srid
raehik asked this question in Q&A
Discussion options

You must be logged in to vote

error: function 'anonymous lambda' called without required argument 'system-cxx-std-lib'

Errors like this typically mean that the specified package is not in the package set. That is to say, there is no pkgs.haskell.packages.ghc98.system-cxx-std-lib.

haskell-flake works with your basePackages as-is, except for merging your packages/settings as overlays; see

finalOverlay = lib.composeManyExtensions [
config.packagesOverlay
config.settingsOverlay
];
finalPackages = config.basePackages.extend finalOverlay;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raehik
Comment options

Answer selected by raehik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #200 on October 18, 2023 15:17.