From f29d66a77f6f5de17158037eef7e52b4f555ce77 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Fri, 2 Feb 2024 07:27:40 -0500 Subject: [PATCH] mongodb: Use scons 4 --- pkgs/servers/nosql/mongodb/mongodb.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/nosql/mongodb/mongodb.nix b/pkgs/servers/nosql/mongodb/mongodb.nix index c37f06d5e8bd..2b0c1b1aca14 100644 --- a/pkgs/servers/nosql/mongodb/mongodb.nix +++ b/pkgs/servers/nosql/mongodb/mongodb.nix @@ -1,7 +1,7 @@ { lib , stdenv , fetchurl -, scons_3_1_2 +, scons , boost , gperftools , pcre-cpp @@ -44,8 +44,6 @@ let pymongo ]); - scons = scons_3_1_2; - mozjsVersion = "60"; mozjsReplace = "defined(HAVE___SINCOS)"; @@ -58,8 +56,6 @@ let setuptools ]); - scons = scons_3_1_2; - mozjsVersion = "60"; mozjsReplace = "defined(HAVE___SINCOS)"; @@ -87,7 +83,7 @@ in stdenv.mkDerivation rec { inherit sha256; }; - nativeBuildInputs = [ variants.scons ] + nativeBuildInputs = [ scons ] ++ lib.optionals (versionAtLeast version "4.4") [ xz ]; buildInputs = [