Skip to content
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

Replace haskell.nix with stacklock2nix #675

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

junjihashimoto
Copy link
Member

@junjihashimoto junjihashimoto commented Aug 24, 2023

Haskell.nix may not have ghc cached (of course, it may be cached.) When it is not cached, compiling ghc will run 2-3 times. It's a waste of maintenance time because every stackage upgrade has something like that.
This PR uses stacklock2nix to reduce that time, because stacklock2nix uses nixpkgs' cached ghc.
Before trying stacklock2nix, I tried using nixpkgs ghc in haskell.nix, but it didn't work.

This is the first time to support apple silicon. I tested this on apple silicon.

@junjihashimoto
Copy link
Member Author

ToDo:

  • Merge nix-linux-*.yml of GHA into nix-linux.yml to keep maintenance costs down. (The default is CUDA version.)
  • Update nix-haddock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant