em-modules: stay with python2
Not tested whether it works with python3.
This commit is contained in:
parent
cf4f947faa
commit
41faf39bf5
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, emscripten, python }:
|
{ pkgs, lib, emscripten, python2 }:
|
||||||
|
|
||||||
{ buildInputs ? [], nativeBuildInputs ? []
|
{ buildInputs ? [], nativeBuildInputs ? []
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ pkgs.stdenv.mkDerivation (
|
||||||
|
|
||||||
pname = "emscripten-${lib.getName args}";
|
pname = "emscripten-${lib.getName args}";
|
||||||
version = lib.getVersion args;
|
version = lib.getVersion args;
|
||||||
buildInputs = [ emscripten python ] ++ buildInputs;
|
buildInputs = [ emscripten python2 ] ++ buildInputs;
|
||||||
nativeBuildInputs = [ emscripten python ] ++ nativeBuildInputs;
|
nativeBuildInputs = [ emscripten python2 ] ++ nativeBuildInputs;
|
||||||
|
|
||||||
# fake conftest results with emscripten's python magic
|
# fake conftest results with emscripten's python magic
|
||||||
EMCONFIGURE_JS=2;
|
EMCONFIGURE_JS=2;
|
||||||
|
|
Loading…
Reference in a new issue