Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
 
 
 
 

23 行
564 B

{ genodeSources, symlinkJoin }:
symlinkJoin {
name = "posix";
paths = map genodeSources.depot [ "libc" "posix" ];
postBuild = ''
local headerDir="''${!outputDev}/include"
mkdir -p "$headerDir"
pushd ${genodeSources.ports.libc}/*
cp -r \
include/libc/* \
include/openlibm/* \
${genodeSources}/repos/libports/include/libc \
"$headerDir"
for spec in ${toString genodeSources.specs}; do
dir=include/spec/$spec/libc
if [ -d $dir ]; then
cp -r $dir/* "$headerDir"
fi
done
popd
'';
}