mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
edd57d380d
- 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.
21 lines
320 B
Bash
21 lines
320 B
Bash
source $setup
|
|
|
|
tar -xf $src
|
|
mv bitwise-* bitwise
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
$host-gcc -O2 ../bitwise/ion/main.c -o ion$exe_suffix \
|
|
-DIONHOME=\"$out/ionhome\"
|
|
|
|
# TODO: make -DIONHOME actually work
|
|
|
|
mkdir $out
|
|
|
|
mkdir $out/bin
|
|
mv ion$exe_suffix $out/bin/
|
|
|
|
mkdir $out/ionhome
|
|
mv ../bitwise/ion/system_packages $out/ionhome/
|