From 7a73706daddc722477d4126b961746eda5986ec6 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Wed, 27 Mar 2024 17:11:20 -0300 Subject: [PATCH] mesa: convert vulkanLayers option to use lib.meson* Taken from PR #299572 --- pkgs/development/libraries/mesa/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 59be3ff23eff..b26936de9777 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -271,7 +271,7 @@ self = stdenv.mkDerivation { ++ lib.optionals enablePatentEncumberedCodecs [ (lib.mesonOption "video-codecs" "all") ] ++ lib.optionals (vulkanLayers != []) [ - "-D vulkan-layers=${builtins.concatStringsSep "," vulkanLayers}" + (lib.mesonOption "vulkan-layers" (builtins.concatStringsSep "," vulkanLayers)) ]; strictDeps = true;