Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
515 B

{ genodeSources }:
let port = genodeSources.ports.stdcxx;
in genodeSources.buildUpstream {
name = "stdcxx";
outputs = [ "out" "dev" ];
targets = [ "LIB=stdcxx" ];
portInputs = [ genodeSources.ports.libc port ];
propagatedBuildInputs = [ genodeSources.genodeBase ];
STDCXX_PORT = port;
postInstall = ''
mkdir -p $dev/include
pushd $STDCXX_PORT/*
cp -r --no-preserve=mode \
include/stdcxx/* \
$GENODE_DIR/repos/libports/include/stdcxx/* \
$dev/include/
popd
'';
}