shrub/nix/nixcrpkgs/pkgs/angle/debug_bundle_builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

19 lines
296 B
Bash

source $setup
mkdir -p $out
cp -r $gdb/* $out
chmod -R u+w $out
cp -r $examples/* $out
chmod -R u+w $out
mkdir -p $out/src
cp -r $src $out/src/angle
chmod -R u+w $out
cat <<EOF > $out/gdbcmd.txt
set substitute-path ../samples src/angle/samples
set substitute-path ../util src/angle/util
EOF