fcft: rewrite mesonFeatureFlag

This is merely cosmetical.
This commit is contained in:
AndersonTorres 2022-11-13 20:02:45 -03:00
parent a2bca8092c
commit 1405f8a944

View File

@ -15,7 +15,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 {