Skip to content

[miso] attribute extend missing error when using custom GHC package set #206

Answered by srid
newton-migosi asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, you are setting basePackages of that ghc865 flake to something other a Haskell package set, which is not supported of course.

https://gist.github.com/newton-migosi/74d1c9f0ab3b343e20d40f46880a92fa#file-ghc865-nix-L3-L10

# In effect
basePackages = (import inputs.miso { system = inputs.system; allowBroken = true; }).miso-ghc

This does not necessarily conform to the type interface of pkgs.haskellPackages, in fact it seems to be a single package (see https://github.com/dmjio/miso/blob/843bdc3d39f7387f5306e451bab8a2dbfa11fca0/default.nix#L56) ... hence, cannot be used as is with haskell-flake.

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@newton-migosi
Comment options

@srid
Comment options

srid Nov 11, 2023
Maintainer

@newton-migosi
Comment options

@srid
Comment options

srid Nov 12, 2023
Maintainer

Answer selected by newton-migosi
@srid
Comment options

srid Nov 12, 2023
Maintainer

@newton-migosi
Comment options

@srid
Comment options

srid Nov 12, 2023
Maintainer

@newton-migosi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants