1{ newScope, stdenv, binutils, wrapCCWith, symlinkJoin }:
3 callPackage = newScope (self // {inherit stdenv;});
6 emscriptenfastcomp-unwrapped = callPackage ./emscripten-fastcomp.nix {};
7 emscriptenfastcomp-wrapped = wrapCCWith {
8 cc = self.emscriptenfastcomp-unwrapped;
9 # Never want Apple's cctools for WASM target
11 libc = stdenv.cc.libc;
12 extraBuildCommands = ''
13 # hardening flags break WASM support
14 cat > $out/nix-support/add-hardening.sh
17 emscriptenfastcomp = symlinkJoin {
18 name = "emscriptenfastcomp-${stdenv.lib.getVersion self.emscriptenfastcomp-unwrapped}";
19 paths = [ self.emscriptenfastcomp-wrapped self.emscriptenfastcomp-unwrapped ];
20 preferLocalBuild = false;
21 allowSubstitutes = true;
23 # replace unwrapped clang-3.9 binary by wrapper
24 ln -sf $out/bin/clang $out/bin/clang-[0-9]*
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list