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 lib, 5 config, 6 7 clang, 8 gnumake, 9 lld, 10 llvm, 11}: 12 13run 14 { 15 name = "musl"; 16 src = fetch.github { 17 owner = "tombl"; 18 repo = "musl"; 19 rev = "refs/heads/master"; 20 hash = "sha256-IFfilUadk9wstgeybczU2qJ3MLiAiA3u0jpafsBGcUY="; 21 }; 22 path = [ 23 clang 24 gnumake 25 lld 26 llvm 27 ]; 28 # TODO: split for size, only relevant for dynamic linking 29 # outputs = [ "out" "dev" ]; 30 } 31 '' 32 cat >config.mak <<EOF 33 ARCH=wasm32 34 prefix=$out 35 syslibdir=$out 36 CFLAGS=--target=wasm32 ${lib.optionalString config.debug "-g"} 37 EOF 38 39 mkdir $out 40 make -j$NIX_BUILD_CORES install-libs install-headers 41 ''