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.
This commit is contained in:
Andreas Rammhold 2021-08-16 15:16:24 +02:00
parent 6327a87b56
commit f680248169
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -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";