Setup proper bindings for mruby.

- and a lot more stuff.
This commit is contained in:
2026-09-09 23:39:05 +01:00
parent 93d71d820a
commit ac72396a0f
17 changed files with 494 additions and 109 deletions
+4 -1
View File
@@ -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
'';
};
};