From 8087d356681521850227fc5ad6c90eaa426b74e9 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sun, 10 Jul 2022 10:19:45 -0400 Subject: [PATCH] libplacebo: fix build on Darwin --- pkgs/development/libraries/libplacebo/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libplacebo/default.nix b/pkgs/development/libraries/libplacebo/default.nix index 807b69f17f2a..73d97a476559 100644 --- a/pkgs/development/libraries/libplacebo/default.nix +++ b/pkgs/development/libraries/libplacebo/default.nix @@ -50,6 +50,8 @@ stdenv.mkDerivation rec { "-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml" "-Ddemos=false" # Don't build and install the demo programs "-Dd3d11=disabled" # Disable the Direct3D 11 based renderer + ] ++ lib.optionals stdenv.isDarwin [ + "-Dunwind=disabled" # libplacebo doesn’t build with `darwin.libunwind` ]; meta = with lib; {