3
0
Fork 0
forked from mirrors/nixpkgs

unifi: LD_LIBRARY_PATH hack for embedded libsnappyjava.so, fixes #12897

This commit is contained in:
Eric Litak 2016-02-11 08:44:00 -08:00
parent 885acea1dd
commit fc8a16f4ed

View file

@ -61,6 +61,8 @@ in
partOf = systemdMountPoints;
bindsTo = systemdMountPoints;
unitConfig.RequiresMountsFor = stateDir;
# This a HACK to fix missing dependencies of dynamic libs extracted from jars
environment.LD_LIBRARY_PATH = with pkgs.stdenv; "${cc.cc}/lib";
preStart = ''
# Ensure privacy of state