This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ 2 fetch, 3 run, 4 config, 5 lib, 6 7 bc, 8 bison, 9 clang-host ? clang, 10 clang, 11 esbuild, 12 findutils, 13 flex, 14 gnumake, 15 lld, 16 llvm, 17 perl, 18 rsync, 19 wabt, 20}: 21 22run 23 { 24 name = "linux"; 25 src = fetch.github { 26 owner = "tombl"; 27 repo = "linux"; 28 rev = "refs/heads/wasm"; 29 hash = "sha256-HTR0pSsvN+w7wo/7lpGH/GYGeApAvNo4ZkjwVnHiUtA="; 30 }; 31 path = [ 32 bc 33 bison 34 clang 35 esbuild 36 findutils 37 flex 38 gnumake 39 lld 40 llvm 41 perl 42 rsync 43 wabt 44 ]; 45 outputs = [ 46 "out" 47 "headers" 48 ]; 49 } 50 '' 51 make() { 52 command make -j$NIX_BUILD_CORES HOSTCC=${clang-host}/bin/clang TSC=true "$@" 53 } 54 55 test -f .config || make defconfig ${lib.optionalString config.debug "debug.config"} 56 57 # this is a horrible dirty hack but there's some non-deterministic build failure 58 for i in $(seq 1 3); do 59 if make -C tools/wasm; then 60 break 61 fi 62 done 63 64 cp -r tools/wasm/dist $out 65 66 make headers_install INSTALL_HDR_PATH=$headers 67 ''