diff options
author | Arthur Lee <me@arthur.li> | 2019-10-25 11:47:50 +0800 |
---|---|---|
committer | Arthur Lee <me@arthur.li> | 2019-10-25 11:56:31 +0800 |
commit | d2282cc4a78f372e4c56238c8bbd434aa1f9e76c (patch) | |
tree | 6dc86313e2cc241d40f289149b769cf51a218ac4 /pkgs/development/libraries/wt | |
parent | e2383999f061c5442161958a075ea3ca91bfbe6a (diff) |
wt: Allow optional library harfbuzz to be overriden with null
Diffstat (limited to 'pkgs/development/libraries/wt')
-rw-r--r-- | pkgs/development/libraries/wt/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/wt/default.nix b/pkgs/development/libraries/wt/default.nix index b5a7bae68eadd..0bffa8ba1a56a 100644 --- a/pkgs/development/libraries/wt/default.nix +++ b/pkgs/development/libraries/wt/default.nix @@ -28,13 +28,14 @@ let cmakeFlags = [ "-DWT_CPP_11_MODE=-std=c++11" - "-DHARFBUZZ_INCLUDE_DIR=${harfbuzz.dev}/include" "--no-warn-unused-cli" ] ++ stdenv.lib.optionals (graphicsmagick != null) [ "-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick" "-DGM_PREFIX=${graphicsmagick}" ] + ++ stdenv.lib.optional (harfbuzz != null) + "-DHARFBUZZ_INCLUDE_DIR=${harfbuzz.dev}/include" ++ stdenv.lib.optional (libmysqlclient != null) "-DMYSQL_PREFIX=${libmysqlclient}"; |