forked from mirrors/nixpkgs
unifi: LD_LIBRARY_PATH hack for embedded libsnappyjava.so, fixes #12897
This commit is contained in:
parent
885acea1dd
commit
fc8a16f4ed
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue