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