diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-11-26 08:51:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-11-26 14:16:08 +0200 |
commit | 319b52c38271943182c0269b480a57d715820cdc (patch) | |
tree | 10a8089cf9576c62b676df281408be01c42dd6f5 /gnu | |
parent | 29cfbfca4389f6b10e99eb6b5b615e8c12e3f2da (diff) | |
download | guix-319b52c38271943182c0269b480a57d715820cdc.tar.gz |
gnu: mongodb: Use system wiredtiger when available.
* gnu/packages/databases.scm (mongodb)[inputs]: Add wiredtiger on 64-bit systems. [arguments]: When using wiredtiger, use system wiredtiger.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/databases.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index c187c002f1..0d3b4960a0 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -392,6 +392,10 @@ applications.") (inputs `(("openssl" ,openssl) ("pcre" ,pcre) + ,@(match (%current-system) + ((or "x86_64-linux" "aarch64-linux" "mips64el-linux") + `(("wiredtiger" ,wiredtiger))) + (_ `())) ("yaml-cpp" ,yaml-cpp) ("zlib" ,zlib) ("snappy" ,snappy) @@ -411,7 +415,7 @@ applications.") (%current-system))) '("i686-linux" "armhf-linux")) ``"--wiredtiger=off" - ``"--wiredtiger=on") + ``"--use-system-wiredtiger") ;; TODO ;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1 ;; --use-system-boost |