From f84d3d565af8173f0d225d067e503503d110f66e Mon Sep 17 00:00:00 2001 From: WilliButz Date: Sun, 28 Jul 2019 13:54:50 +0200 Subject: [PATCH] mongodb: fix build on aarch64 --- pkgs/servers/nosql/mongodb/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix index b1d9154a7475..842c988d9b33 100644 --- a/pkgs/servers/nosql/mongodb/default.nix +++ b/pkgs/servers/nosql/mongodb/default.nix @@ -81,6 +81,8 @@ in stdenv.mkDerivation rec { preBuild = '' sconsFlags+=" CC=$CC" sconsFlags+=" CXX=$CXX" + '' + optionalString stdenv.isAarch64 '' + sconsFlags+=" CCFLAGS='-march=armv8-a+crc'" ''; preInstall = ''