From f68024816984bed403f7078e724184134a882c2f Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 16 Aug 2021 15:16:24 +0200 Subject: [PATCH] scons: use python2 for all scons versions <4 While refactoring this file in a previous PR I accideintially ported scons 3.0.1 to Python3 which doesn't work. Only Scons >=4 supports Python3. --- pkgs/development/tools/build-managers/scons/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/scons/default.nix b/pkgs/development/tools/build-managers/scons/default.nix index 884d7482faf5..da11bdb28aa1 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_0_1 = (mkScons { version = "3.0.1"; sha256 = "0wzid419mlwqw9llrg8gsx4nkzhqy16m4m40r0xnh6cwscw5wir4"; - }).override { python = python3; }; + }).override { python = python2; }; scons_3_1_2 = (mkScons { version = "3.1.2"; sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq";