nixpkgs/pkgs/development/compilers/emscripten
sternenseemann 12af3ee5c5 emscripten: fake cc-wrapper-esque passthru attrs for GHC
For the GHC JavaScript backend, we'll use emscripten in place of
targetCC. To avoid having too much special logic for this, we'll make
the emscripten derivation look like the result of wrapCC as far as GHC
is concerned, i.e. we need targetPrefix and bintools.

For bintools, we'll just reexpose emscripten, as it has emar, the only
relevant bintools. That the other ones are missing doesn't matter in
practice, as the GHC build system won't attempt to use them.

targetPrefix can immediately be (ab)used to make sure GHC will correctly
call emcc etc. instead of plain cc.
2023-01-03 22:45:05 +01:00
..
0001-emulate-clang-sysroot-include-logic.patch emscripten: 2.0.10 -> 2.0.27 2021-08-21 10:10:03 +02:00
default.nix emscripten: fake cc-wrapper-esque passthru attrs for GHC 2023-01-03 22:45:05 +01:00
package.json emscripten: 3.1.15 -> 3.1.17 2022-07-26 09:30:36 -04:00
yarn.lock emscripten: 3.1.10 -> 3.1.12 2022-06-22 20:06:35 -04:00
yarn.nix emscripten: 3.1.10 -> 3.1.12 2022-06-22 20:06:35 -04:00