mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-11 21:17:45 +03:00
b6a3a7a427
This will allow a single build to be made, instead of one build per logo.
22 lines
443 B
Nix
22 lines
443 B
Nix
{ lib, runCommand, mobile-nixos }:
|
|
|
|
let
|
|
assets = runCommand "boot-splash-assets" {} ''
|
|
mkdir -p $out
|
|
ln -s /etc/logo.svg $out/logo.svg
|
|
'';
|
|
in
|
|
mobile-nixos.mkLVGUIApp {
|
|
name = "boot-splash.mrb";
|
|
executablePath = "libexec/boot-splash.mrb";
|
|
enableDebugInformation = true;
|
|
src = lib.cleanSource ./.;
|
|
rubyFiles = [
|
|
"configuration.rb"
|
|
"ui.rb"
|
|
"main.rb"
|
|
];
|
|
inherit assets;
|
|
assetsPath = "boot-splash/assets";
|
|
}
|