2019-12-21 05:27:03 +03:00
|
|
|
final: super:
|
|
|
|
|
|
|
|
let
|
|
|
|
# Errr... nothing in the `makeStatic*` stdenv adapters allow detecting
|
|
|
|
# whether we're doing a static build or not in a sane manner.
|
|
|
|
# Let's co-opt the `dontDisableStatic` attribute it overrides into a
|
|
|
|
# derivation, let's say, hello...
|
|
|
|
static = if final.hello ? dontDisableStatic then final.hello.dontDisableStatic else false;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
hello-mruby = final.callPackage ./hello-mruby {};
|
2021-01-01 00:57:39 +03:00
|
|
|
mrbgems = final.callPackage ./mrbgems {};
|
2021-02-17 02:20:21 +03:00
|
|
|
mruby = final.callPackage ./mruby {
|
|
|
|
builder = final.callPackage ./mruby/builder.nix {
|
|
|
|
inherit static;
|
2019-12-21 05:27:03 +03:00
|
|
|
};
|
2021-02-17 02:20:21 +03:00
|
|
|
};
|
2019-12-21 05:27:03 +03:00
|
|
|
}
|