[Nix-dev] How to downgrade or patch freetype-2.7 ?

Volth volth at volth.com
Thu Apr 20 07:41:30 CEST 2017


Unfortunately, $FREETYPE_PROPERTIES is censored by sudo and chrome
sandbox (and the bug is WONTFIX in both freetype and chrome)

On 4/19/17, Vladimír Čunát <vcunat at gmail.com> wrote:
> Just my two cents.
>
> On 04/19/2017 01:25 PM, Volth wrote:
>> There is upstream-recommended way to "globally" set old interpreted
>> version via environment variable FREETYPE_PROPERTIES, which is not a
>> solution obviously: many processes do not inherit parent environment
>> (sudo, browser renderers run in sandbox, ...) .
>
>
>> Oh, LD_LIBRARY_PATH advice is very helpful.
>
> I can't see how setting $LD_LIBRARY_PATH is easier than setting
> $FREETYPE_PROPERTIES.  I believe the latter is safer, as it should only
> affect freetype.
>
> If you want details on (some) potential dangers of $LD_LIBRARY_PATH on
> nontrivial libs, you can study
> https://github.com/NixOS/nixpkgs/issues/16779
>
> --Vladimir
>
>


More information about the nix-dev mailing list