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
GHC / Haskell packages, wasm cross compilation support #92168
GHC / Haskell packages, wasm cross compilation support #92168
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though WebGHC doesn't support the older GHCs, could we apply these changes to them too? Should be harmless and helps avoid them accidentally drifting out of sync. (And keeps alive the hope that somebody will finally write an abstraction to replace the copy-paste.)
a386c0d
to
84c30da
Compare
@dfordivam Looks good! Could you just update the other GHCs like I mentioned in #92168 (review) ? Sorry I took so long to get back to your PRs. |
(as mentioned in mk/build.mk.sample)
84c30da
to
fee55e2
Compare
@Ericson2314 I did not change the 8.6.5 as it has the |
Please rebase. I leave it to the Haskell maintainers to merge it into staging or the haskell-updates branch. |
Sorry I didn't see the new version earlier! |
Motivation for this change
These are needed to building GHC and Haskell packages for wasm target, and are being used by WebGHC.
Except the
STRIP_CMD = :
, all other changes are under theisWasm
target flag, so should not impact any other target's compilation.These are fairly small changes, so I clubbed them together in one PR.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)