From d9a7945a7eab318ae852e8be842cd370479b644e Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Sun, 17 Jul 2022 13:34:29 -0700 Subject: [PATCH] dotnet: fix compilation on darwin --- pkgs/development/compilers/dotnet/build-dotnet.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix index 11150ec7ca16..cadb6fb31d78 100644 --- a/pkgs/development/compilers/dotnet/build-dotnet.nix +++ b/pkgs/development/compilers/dotnet/build-dotnet.nix @@ -47,14 +47,11 @@ stdenv.mkDerivation rec { libunwind libuuid openssl - ] ++ lib.optionals stdenv.isLinux [ - lttng-ust_2_12 - ]); + ] ++ lib.optional stdenv.isLinux lttng-ust_2_12); nativeBuildInputs = [ - autoPatchelfHook makeWrapper - ]; + ] ++ lib.optional stdenv.isLinux autoPatchelfHook; buildInputs = [ stdenv.cc.cc