[miso] attribute extend
missing error when using custom GHC package set
#206
-
I've defined a custom GHC package set based off of miso's package set defined here https://github.com/dmjio/miso/blob/843bdc3d39f7387f5306e451bab8a2dbfa11fca0/nix/overlay.nix#L20-L39 This seems to trigger an error that points to the usage of Are there any known configurations of package sets that would throw such errors? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
The author of NixOS/nixpkgs#38522 was 99% sure
|
Beta Was this translation helpful? Give feedback.
-
Since What is the error? You can also try posting here |
Beta Was this translation helpful? Give feedback.
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
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.