arangodb: stdenvGcc10->stdenv since gcc 11+ is suggested

This commit is contained in:
John Soo
2022-10-30 10:22:16 -07:00
parent 9f1e7c2f69
commit 704d2dccb9
+4 -6
View File
@@ -1,4 +1,4 @@
{ gcc10Stdenv
{ stdenv
, git
, lib
, fetchFromGitHub
@@ -12,9 +12,7 @@
, which
}:
# Arango 3.10.0 officially only supports gcc11+, but seems to compile
# with 10
gcc10Stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "arangodb";
version = "3.10.0";
@@ -48,8 +46,8 @@ gcc10Stdenv.mkDerivation rec {
"-DUSE_MAINTAINER_MODE=OFF"
# avoid using builder's /proc/cpuinfo
"-DHAVE_SSE42=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DASM_OPTIMIZATIONS=${if gcc10Stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DHAVE_SSE42=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
"-DASM_OPTIMIZATIONS=${if stdenv.hostPlatform.sse4_2Support then "ON" else "OFF"}"
];
meta = with lib; {