git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #151206 from prusnak/dotnet-fix-darwin

dotnet: fix build on darwin

commit5965f0698f917ae93578b66231976ce169134e59 authorPavol Rusnak <pavol@rusnak.io> dateSat 18 Dec 2021, 18:27 (5 years ago) parent6332928a999c2b
1 file changed+6−4
pkgs/development/compilers/dotnet/build-dotnet.nix+6−4
pkgs/development/compilers/dotnet/build-dotnet.nix+6−4
@@ -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;