Fix nested quotes in fontconfig.nix
A sed with nested double quotes is inserting malformed XML into /etc/fonts/fonts.conf, this commit put the sed command into single quotes to properly insert double quotes to enclose the XML attribute.
This commit is contained in:
parent
77c5be1461
commit
b5574c71be
@ -183,7 +183,7 @@ let
|
||||
# horrible sed hack to add the line that was accidentally removed
|
||||
# from the default config in #324516
|
||||
# FIXME: fix that, revert this
|
||||
sed "5i <include ignore_missing="yes">/etc/fonts/conf.d</include>" -i $dst/../fonts.conf
|
||||
sed '5i <include ignore_missing="yes">/etc/fonts/conf.d</include>' -i $dst/../fonts.conf
|
||||
|
||||
# TODO: remove this legacy symlink once people stop using packages built before #95358 was merged
|
||||
mkdir -p $out/etc/fonts/2.11
|
||||
|
Loading…
Reference in New Issue
Block a user