Closed jappeace closed 1 year ago
@jappeace Thanks a lot for this detailed explanation and fixing PR!
Would you mind to add this knowledge at some additional place and not only in the commit message? Maybe as a comment in code or to the README.md
? (Commit messages get easily out of sight when the code pieces are e.g. refactored or moved...)
I added a comment to the readme overview table and in the code
@jappeace , would you mind to fix this typo: https://github.com/alpmestan/ghc.nix/actions/runs/4520183620/jobs/8222280325?pr=150#step:7:1670 ? (The failing linter is currently blocking this PR from being merged.)
fixed
solves configure fails with Configure fails with: sub-word sized atomic operations not available
which is better described here: https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/building#configure-fails-with-sub-word-sized-atomic-operations-not-available
the cache is by default within the nix store, which is immutable, we need to make it writable, so putting it in the current working directory for the shells seems like the appropriate solution.