From c8cf55215a3d363b50ee591996e08e6cd2fa2322 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 13 Nov 2019 00:28:38 +0000 Subject: [PATCH] rocksdb: Improve condition --- pkgs/development/libraries/rocksdb/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix index 1b6b5b1b57bf..3c381a00449b 100644 --- a/pkgs/development/libraries/rocksdb/default.nix +++ b/pkgs/development/libraries/rocksdb/default.nix @@ -31,8 +31,7 @@ stdenv.mkDerivation rec { "-DWITH_ZSTD=1" "-DWITH_GFLAGS=0" (lib.optional - (stdenv.hostPlatform.system == "i686-linux" - || stdenv.hostPlatform.system == "x86_64-linux") + (stdenv.hostPlatform.isx86 && stdenv.hostPlatform.isLinux) "-DFORCE_SSE42=1") (lib.optional enableLite "-DROCKSDB_LITE=1") ];