From a2bca8092c2cf0d0408c2af43d7652338a652a96 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 13 Nov 2022 20:01:44 -0300 Subject: [PATCH] wbg: rewrite mesonFeatureFlag This is merely cosmetical. --- pkgs/applications/misc/wbg/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/wbg/default.nix b/pkgs/applications/misc/wbg/default.nix index 57a1f55392aa..0febd846e024 100644 --- a/pkgs/applications/misc/wbg/default.nix +++ b/pkgs/applications/misc/wbg/default.nix @@ -18,7 +18,8 @@ let # Courtesy of sternenseemann and FRidh, commit c9a7fdfcfb420be8e0179214d0d91a34f5974c54 - mesonFeatureFlag = opt: b: "-D${opt}=${if b then "enabled" else "disabled"}"; + mesonFeatureFlag = feature: flag: + "-D${feature}=${if flag then "enabled" else "disabled"}"; in stdenv.mkDerivation rec {