@@ -4,7 +4,8 @@
44}:
55
66assert builtins.elem type [ "aspnetcore" "runtime" "sdk"];
7−{ lib, stdenv
7+{ lib
8+, stdenv
89, fetchurl
910, libunwind
1011, openssl
@@ -42,9 +43,8 @@ in stdenv.mkDerivation rec {
4243 inherit pname version;
4344
4445 # Some of these dependencies are `dlopen()`ed.
45− rpath = lib.makeLibraryPath [
46+ rpath = lib.makeLibraryPath ([
4647 stdenv.cc.cc
47− lttng-ust_2_12
4848 zlib
4949
5050 curl
@@ -52,7 +52,9 @@ in stdenv.mkDerivation rec {
5252 libunwind
5353 libuuid
5454 openssl
55− ];
55+ ] ++ lib.optionals stdenv.isLinux [
56+ lttng-ust_2_12
57+ ]);
5658
5759 src = fetchurl {
5860 url = builtins.getAttr type urls;