This test started failing as described in the code comment. May be related to Nixpkgs updating Fontconfig from version 2.12 to 2.13. See https://github.com/NixOS/nixpkgs/pull/73795.
mkOutOfStoreSymlink