Merge pull request #151206 from prusnak/dotnet-fix-darwin

dotnet: fix build on darwin
This commit is contained in:
Pavol Rusnak 2021-12-18 18:27:27 +01:00 committed by GitHub
commit 5965f0698f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,8 @@
}:
assert builtins.elem type [ "aspnetcore" "runtime" "sdk"];
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, libunwind
, openssl
@ -42,9 +43,8 @@ in stdenv.mkDerivation rec {
inherit pname version;
# Some of these dependencies are `dlopen()`ed.
rpath = lib.makeLibraryPath [
rpath = lib.makeLibraryPath ([
stdenv.cc.cc
lttng-ust_2_12
zlib
curl
@ -52,7 +52,9 @@ in stdenv.mkDerivation rec {
libunwind
libuuid
openssl
];
] ++ lib.optionals stdenv.isLinux [
lttng-ust_2_12
]);
src = fetchurl {
url = builtins.getAttr type urls;