1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/overlay/mruby-builder/overlay.nix

19 lines
585 B
Nix
Raw Normal View History

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 {};
mruby = final.callPackage ./mruby {
builder = final.callPackage ./mruby/builder.nix {
inherit static;
};
};
}