From 27180b67ce59e4584eb896fafe790a7bb418235b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 9 Nov 2016 16:14:48 +0100 Subject: [PATCH] pixie: use python2 --- pkgs/development/interpreters/pixie/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/pixie/default.nix b/pkgs/development/interpreters/pixie/default.nix index c3da770a6e1f..7cb2a356f951 100644 --- a/pkgs/development/interpreters/pixie/default.nix +++ b/pkgs/development/interpreters/pixie/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, fetchurl, python, makeWrapper, pkgconfig, gcc, +{ stdenv, fetchgit, fetchurl, python2, makeWrapper, pkgconfig, gcc, pypy, libffi, libedit, libuv, boost, zlib, variant ? "jit", buildWithPypy ? false }: @@ -36,7 +36,7 @@ let buildInputs = [ pkgconfig makeWrapper ]; PYTHON = if buildWithPypy then "${pypy}/pypy-c/.pypy-c-wrapped" - else "${python}/bin/python"; + else "${python2.interpreter}"; unpackPhase = '' cp -R ${pixie-src} pixie-src mkdir pypy-src