Setup proper bindings for mruby.
- and a lot more stuff.
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r mruby/build/host/lib $out/
|
||||
cp -r mruby/build/host/lib $out
|
||||
cp -r mruby/build/host/include $out
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -48,6 +49,7 @@
|
||||
];
|
||||
buildPhase = ''
|
||||
export MRUBY_LIB=${mruby}/lib
|
||||
export MRUBY_HEADERS=${mruby}/include
|
||||
dune build src/main.exe --release
|
||||
'';
|
||||
installPhase = ''
|
||||
@@ -102,6 +104,7 @@
|
||||
|
||||
shellHook = ''
|
||||
export MRUBY_LIB=${mruby}/lib
|
||||
export MRUBY_HEADERS=${mruby}/include
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user