Samuel Dionne-Riel
225ed39dad
Fix stdenv.lib being removed
...
Deals with https://github.com/NixOS/nixpkgs/pull/111284
2021-02-02 05:51:18 -05:00
Samuel Dionne-Riel
f3b51bfafd
mruby-builder: Manage -g
flag for mrbc
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
ead0bf029e
mruby-builder: Fix passthru
being required for mruby builder
2020-11-29 16:03:33 -05:00
Samuel Dionne-Riel
a779e28e49
mruby-builder: Fix double error messages print in stub
2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
8c98bf6c9c
mruby: Work around pkg-config cross-compilation changes
...
This will be fixed more appropriately once work on integrating the
upcoming build-system changes for 2.2 is done. With an upstream patch.
2020-07-02 21:03:38 -04:00
adisbladis
04ae1487e9
mruby: 2.1.0 -> 2.1.1
2020-06-26 12:55:52 +02:00
adisbladis
f3bde61126
mruby: Fix bison 3.6 compatibility
2020-06-26 12:55:27 +02:00
Samuel Dionne-Riel
31dbeb2599
mruby-builder: Pass passthru through
2020-05-31 18:54:07 -04:00
Samuel Dionne-Riel
db10391e13
mruby: Use all gems, and not only direct depdencies
...
Otherwise we lose dependency management on transitive dependencies.
2020-05-19 23:29:38 -04:00
Samuel Dionne-Riel
74611efdcd
mruby: Builder re-uses buildInputs from its mruby...
...
Thus re-using buildInputs from gems, thus closing the circle.
2020-05-18 22:44:04 -04:00
Samuel Dionne-Riel
fe6d03701d
mruby-builder: Pass through the mruby build
2020-03-01 22:02:27 -05:00
Samuel Dionne-Riel
eed5f36e8f
mruby: Builder now uses saved flags
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
cc0561b040
mruby: change order gems are collected
...
This ensures no dependencies for a gem end up after `mruby-require`.
This is important since anything after `mruby-require` is implicitly
built as a shared library.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
3631ed1882
mruby: Allow gems to define native build inputs
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
97c333b160
mruby: Save linker flags for future re-use
...
This will be used by `makeBin` so that using mrbgems requiring external
dependencies stays ergonomic.
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
7eeee77f71
mruby-builder: stub handles ARGV and PROGRAM_NAME
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
47d0914a49
mruby-builder: Move stub.c to a discrete file
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
8e57a91279
mruby-builder: Make use of those cores
2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
6f8a8ee208
mruby-builder: Import mruby-builder
...
This overlay allows building bespoke binaries using mruby with a
custom-made builder.
This may evolve a bit with *actual* use.
2020-02-03 16:19:10 -05:00