nchat: add withWhatsApp option

This commit is contained in:
Nikolay Korotkiy
2025-09-25 16:09:25 +04:00
parent 838da61159
commit 9dcc878bde
+3 -1
View File
@@ -12,6 +12,7 @@
cmake,
gperf,
nix-update-script,
withWhatsApp ? (!stdenv.isDarwin), # macOS 12.0+ required
}:
let
@@ -89,7 +90,8 @@ stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
(lib.cmakeBool "HAS_WHATSAPP" withWhatsApp)
];
passthru = {