gn: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-19 10:12:25 +01:00
parent fda03ec4bd
commit 9b88697bbd

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, fetchurl, python, ninja, libevent, xdg-user-dirs }:
{ stdenv, fetchgit, fetchurl, python2, ninja, libevent, xdg-user-dirs }:
let
date = "20161008";
@ -61,11 +61,11 @@ in stdenv.mkDerivation rec {
NIX_LDFLAGS = "-levent";
nativeBuildInputs = [ python ninja ];
nativeBuildInputs = [ python2 ninja ];
buildInputs = [ libevent ];
buildPhase = ''
python tools/gn/bootstrap/bootstrap.py -v -s --no-clean
python2 tools/gn/bootstrap/bootstrap.py -v -s --no-clean
'';
installPhase = ''