Merge pull request #310661 from somasis/boot.plymouth.font

nixos/boot.plymouth.font: escape font path
This commit is contained in:
Masum Reza 2024-07-31 00:39:11 +05:30 committed by GitHub
commit cb27644348
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,7 +219,7 @@ in
# Fonts
"/etc/plymouth/fonts".source = pkgs.runCommand "plymouth-initrd-fonts" {} ''
mkdir -p $out
cp ${cfg.font} $out
cp ${escapeShellArg cfg.font} $out
'';
"/etc/fonts/fonts.conf".text = ''
<?xml version="1.0"?>