1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
mobile-nixos/boot/recovery-menu/simulator.nix
2021-01-01 21:37:29 -05:00

23 lines
388 B
Nix

{ stdenv
, lib
, callPackage
, mrbgems
, mruby
, mobile-nixos
}:
let
script-loader = mobile-nixos.stage-1.script-loader.override({
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}";
})