mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #151206 from prusnak/dotnet-fix-darwin
dotnet: fix build on darwin
This commit is contained in:
commit
5965f0698f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user