Unverified Commit 9dcc878b authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

nchat: add withWhatsApp option

parent 838da611
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 = {