pixie: use python2
This commit is contained in:
parent
e0a5110779
commit
27180b67ce
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, fetchurl, python, makeWrapper, pkgconfig, gcc,
|
{ stdenv, fetchgit, fetchurl, python2, makeWrapper, pkgconfig, gcc,
|
||||||
pypy, libffi, libedit, libuv, boost, zlib,
|
pypy, libffi, libedit, libuv, boost, zlib,
|
||||||
variant ? "jit", buildWithPypy ? false }:
|
variant ? "jit", buildWithPypy ? false }:
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ let
|
||||||
buildInputs = [ pkgconfig makeWrapper ];
|
buildInputs = [ pkgconfig makeWrapper ];
|
||||||
PYTHON = if buildWithPypy
|
PYTHON = if buildWithPypy
|
||||||
then "${pypy}/pypy-c/.pypy-c-wrapped"
|
then "${pypy}/pypy-c/.pypy-c-wrapped"
|
||||||
else "${python}/bin/python";
|
else "${python2.interpreter}";
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
cp -R ${pixie-src} pixie-src
|
cp -R ${pixie-src} pixie-src
|
||||||
mkdir pypy-src
|
mkdir pypy-src
|
||||||
|
|
Loading…
Reference in New Issue