diff --git a/pkgs/development/tools/build-managers/scons/default.nix b/pkgs/development/tools/build-managers/scons/default.nix index 551cb8f754a6..b0d6085250d2 100644 --- a/pkgs/development/tools/build-managers/scons/default.nix +++ b/pkgs/development/tools/build-managers/scons/default.nix @@ -8,7 +8,7 @@ in { scons_3_1_2 = (mkScons { version = "3.1.2"; sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq"; - }).override { python = python2; }; + }); scons_latest = mkScons { version = "4.1.0"; sha256 = "11axk03142ziax6i3wwy9qpqp7r3i7h5jg9y2xzph9i15rv8vlkj"; diff --git a/pkgs/servers/nosql/mongodb/mongodb.nix b/pkgs/servers/nosql/mongodb/mongodb.nix index 2f06e8f42ce6..a253e6d7fbc9 100644 --- a/pkgs/servers/nosql/mongodb/mongodb.nix +++ b/pkgs/servers/nosql/mongodb/mongodb.nix @@ -41,8 +41,7 @@ let pymongo ]); - # 4.2 < mongodb <= 6.0.x needs scons 3.x built with python3 - scons = sconsPackages.scons_3_1_2.override { python = python3; }; + scons = sconsPackages.scons_3_1_2; mozjsVersion = "60"; mozjsReplace = "defined(HAVE___SINCOS)"; @@ -55,8 +54,7 @@ let setuptools ]); - # 4.2 < mongodb <= 5.0.x needs scons 3.x built with python3 - scons = sconsPackages.scons_3_1_2.override { python = python3; }; + scons = sconsPackages.scons_3_1_2; mozjsVersion = "60"; mozjsReplace = "defined(HAVE___SINCOS)";