-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attribute 'ghc801' missing at all-packages.nix #15
Comments
After I read a while and discuss with others, i came with question, does this is because the "packageOverrides" which override my entire config, and let only ghcjs that can be use? How can we manage to only override specific packages then? |
Check the file/line/column that the error message points to:
What do you find on line 4692 of that file? |
Yeah, i've looked at that and got the following:
That is when i think that in my line of code here :
is overriding the config on haskellPackages.. (i'm not sure though).. |
@Rizary: Yes, that's correct. This means that there is a mistake in my tutorial. The fix should be to do something like this: haskell = pkgs.haskell // {
packages = pkgs.haskell.packages // {
"${compiler}" = pkgs.haskell.packages."${compiler}".override {
...
};
};
}; I will also fix the tutorial |
Hi @Gabriel439, thanks to your tutorial on adding dependencies, it works when i was dealing with missing them when i compile.
However, i don't know how to deal with the missing attribute, and why it happens.
I got the following error:
here is my code;
The text was updated successfully, but these errors were encountered: