open5gs: use usrsctp on non-Linux

This is the library Open5GS suggests to use for building on macOS.
Since it's portable, use everywhere that isn't Linux.

+7 -1
+7 -1
pkgs/by-name/op/open5gs/package.nix
··· 21 curl, 22 libtins, 23 mongosh, 24 }: 25 26 stdenv.mkDerivation (finalAttrs: { ··· 75 libyaml 76 libmicrohttpd 77 libgcrypt 78 - lksctp-tools 79 libidn 80 openssl 81 curl 82 libtins 83 gnutls 84 libnghttp2.dev 85 ]; 86 87 # For subproject
··· 21 curl, 22 libtins, 23 mongosh, 24 + usrsctp, 25 }: 26 27 stdenv.mkDerivation (finalAttrs: { ··· 76 libyaml 77 libmicrohttpd 78 libgcrypt 79 libidn 80 openssl 81 curl 82 libtins 83 gnutls 84 libnghttp2.dev 85 + ] 86 + ++ lib.optionals stdenv.isLinux [ 87 + lksctp-tools 88 + ] 89 + ++ lib.optionals (!stdenv.isLinux) [ 90 + usrsctp 91 ]; 92 93 # For subproject