unifi: fix for closure-size changes

Changed files
+1 -1
nixos
modules
services
networking
+1 -1
nixos/modules/services/networking/unifi.nix
···
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";
+
environment.LD_LIBRARY_PATH = with pkgs.stdenv; "${cc.cc.lib}/lib";
preStart = ''
# Ensure privacy of state