Unverified Commit b5574c71 authored by Étienne Simon's avatar Étienne Simon Committed by GitHub
Browse files

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.
parent 77c5be14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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