mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-06 03:27:17 +03:00
21 lines
440 B
Nix
21 lines
440 B
Nix
{ lib, runCommand, mobile-nixos }:
|
|
|
|
let
|
|
assets = runCommand "boot-splash-assets" {} ''
|
|
mkdir -p $out
|
|
cp ${../../artwork/logo/logo.white.svg} $out/logo.svg
|
|
'';
|
|
in
|
|
mobile-nixos.mkLVGUIApp {
|
|
name = "boot-splash.mrb";
|
|
executablePath = "libexec/boot-splash.mrb";
|
|
enableDebugInformation = true;
|
|
src = lib.cleanSource ./.;
|
|
rubyFiles = [
|
|
"ui.rb"
|
|
"main.rb"
|
|
];
|
|
inherit assets;
|
|
assetsPath = "boot-splash/assets";
|
|
}
|