1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
mobile-nixos/boot/recovery-menu/simulator.nix
Samuel Dionne-Riel fb4984cb90 s/boot-gui/boot-recovery-menu/g
The applet is specifically written to show what we call the "recovery
menu". Yes, it's also the boot selection, but it will get confusing with
the upcoming boot tracking splash UI that's upcoming.
2020-10-27 15:23:40 -04:00

27 lines
517 B
Nix

{ stdenv
, lib
, callPackage
, mrbgems
, mruby
, mobile-nixos
}:
let
script-loader = mobile-nixos.stage-1.script-loader.override({
mrbgems = mrbgems // {
mruby-lvgui = callPackage ../../overlay/mruby-builder/mrbgems/mruby-lvgui {
withSimulator = true;
};
};
});
applet = callPackage ./. {};
in
(script-loader.wrap {
name = "simulator";
inherit applet;
}).overrideAttrs(old: rec {
pname = "boot-recovery-menu-simulator";
version = "0.0.1";
name = "${pname}-${version}";
})