summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-07-27 16:14:43 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2021-07-27 20:37:05 +0200
commit41faf39bf59c599ba05e3484d963ce1e6ccb602c (patch)
treeb033abfba3652d2a627d9aeb8688c61a65cc28ec
parentcf4f947faab19de21c38cf7c367d36824aa5a283 (diff)
downloadnixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar.gz
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar.bz2
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar.lz
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar.xz
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.tar.zst
nixpkgs-41faf39bf59c599ba05e3484d963ce1e6ccb602c.zip
em-modules: stay with python2
Not tested whether it works with python3.
-rw-r--r--pkgs/development/em-modules/generic/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/em-modules/generic/default.nix b/pkgs/development/em-modules/generic/default.nix
index a260beb5104..8bfbf6ec309 100644
--- a/pkgs/development/em-modules/generic/default.nix
+++ b/pkgs/development/em-modules/generic/default.nix
@@ -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;