fix(vm): fix Plymouth theme path and optimize VM graphics for splash screen
This commit is contained in:
@@ -10,9 +10,8 @@ let
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/plymouth/themes/nomarchy
|
||||
cp * $out/share/plymouth/themes/nomarchy/
|
||||
# Fix path in the plymouth file to point to the nix store if needed,
|
||||
# but usually Plymouth looks in its theme dir.
|
||||
sed -i "s|/etc/plymouth/themes/nomarchy|$out/share/plymouth/themes/nomarchy|g" $out/share/plymouth/themes/nomarchy/nomarchy.plymouth
|
||||
# Fix path in the plymouth file to point to the nix store
|
||||
sed -i "s|/[a-z]*/share/plymouth/themes/nomarchy|$out/share/plymouth/themes/nomarchy|g" $out/share/plymouth/themes/nomarchy/nomarchy.plymouth
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user