about summary refs log tree commit diff
path: root/pkgs/development/libraries/libplacebo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libplacebo/default.nix')
-rw-r--r--pkgs/development/libraries/libplacebo/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libplacebo/default.nix b/pkgs/development/libraries/libplacebo/default.nix
index 0ffa7b2828f3..159037bec832 100644
--- a/pkgs/development/libraries/libplacebo/default.nix
+++ b/pkgs/development/libraries/libplacebo/default.nix
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
     (lib.mesonEnable "glslang" false) # rely on shaderc for GLSL compilation instead
     (lib.mesonEnable "vk-proc-addr" vulkanSupport)
     (lib.mesonOption "vulkan-registry" "${vulkan-headers}/share/vulkan/registry/vk.xml")
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     (lib.mesonEnable "unwind" false) # libplacebo doesn’t build with `darwin.libunwind`
   ];