1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 09:04:01 +03:00

boot/splash: Normalize LVGUI consumers

This commit is contained in:
Samuel Dionne-Riel 2021-06-12 20:14:14 -04:00
parent 9407ac1084
commit 9df0e1bbdf

View File

@ -1,4 +1,4 @@
{ runCommand
{ runCommandNoCC
, lib
, mruby
}:
@ -12,14 +12,15 @@ let
"lvgui/fiddlier.rb"
"lvgui/lvgl/*.rb"
"lvgui/lvgui/*.rb"
"lvgui/mobile_nixos/*.rb"
"lvgui/vtconsole.rb"
];
in
# mkDerivation will append something like -aarch64-unknown-linux-gnu to the
# derivation name with cross, which will break the mruby code loading.
# Since we don't need anything from mkDerivation, really, let's use runCommand.
runCommand "boot-splash.mrb" {
# Since we don't need anything from mkDerivation, really, let's use runCommandNoCC.
runCommandNoCC "boot-splash.mrb" {
src = lib.cleanSource ./.;
nativeBuildInputs = [