lol

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

+2
+2
nixos/modules/services/networking/unifi.nix
··· 61 61 partOf = systemdMountPoints; 62 62 bindsTo = systemdMountPoints; 63 63 unitConfig.RequiresMountsFor = stateDir; 64 + # This a HACK to fix missing dependencies of dynamic libs extracted from jars 65 + environment.LD_LIBRARY_PATH = with pkgs.stdenv; "${cc.cc}/lib"; 64 66 65 67 preStart = '' 66 68 # Ensure privacy of state