diff options
author | Eric Litak <elitak@gmail.com> | 2016-02-11 08:44:00 -0800 |
---|---|---|
committer | Eric Litak <elitak@gmail.com> | 2016-02-11 09:06:33 -0800 |
commit | fc8a16f4edf052ba71ec7dcd289769fdf512ae87 (patch) | |
tree | cde449c8796bbbdfcebaf4edd2481edcce804082 /nixos/modules/services/networking/unifi.nix | |
parent | 885acea1dd82b0354ff2b6bcf1268b3031cf93df (diff) |
unifi: LD_LIBRARY_PATH hack for embedded libsnappyjava.so, fixes #12897
Diffstat (limited to 'nixos/modules/services/networking/unifi.nix')
-rw-r--r-- | nixos/modules/services/networking/unifi.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix index be8f12ecd32d0..4dc0cd96904cf 100644 --- a/nixos/modules/services/networking/unifi.nix +++ b/nixos/modules/services/networking/unifi.nix @@ -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 |