em-modules: stay with python2

Not tested whether it works with python3.
This commit is contained in:
Frederik Rietdijk 2021-07-27 16:14:43 +02:00
parent cf4f947faa
commit 41faf39bf5

View file

@ -1,4 +1,4 @@
{ pkgs, lib, emscripten, python }:
{ pkgs, lib, emscripten, python2 }:
{ buildInputs ? [], nativeBuildInputs ? []
@ -12,8 +12,8 @@ pkgs.stdenv.mkDerivation (
pname = "emscripten-${lib.getName args}";
version = lib.getVersion args;
buildInputs = [ emscripten python ] ++ buildInputs;
nativeBuildInputs = [ emscripten python ] ++ nativeBuildInputs;
buildInputs = [ emscripten python2 ] ++ buildInputs;
nativeBuildInputs = [ emscripten python2 ] ++ nativeBuildInputs;
# fake conftest results with emscripten's python magic
EMCONFIGURE_JS=2;