mapnik: use python2

because python3 is not yet supported.
This commit is contained in:
Frederik Rietdijk 2017-02-08 19:51:11 +01:00
parent bce69c9cec
commit a805b1206d
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchzip { stdenv, fetchzip
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff , boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
, libwebp, libxml2, proj, python, scons, sqlite, zlib , libwebp, libxml2, proj, python2, scons, sqlite, zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
# a distinct dev output makes python-mapnik fail # a distinct dev output makes python-mapnik fail
outputs = [ "out" ]; outputs = [ "out" ];
nativeBuildInputs = [ python scons ]; nativeBuildInputs = [ python2 scons ];
buildInputs = buildInputs =
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff [ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
libwebp libxml2 proj python sqlite zlib libwebp libxml2 proj python2 sqlite zlib
]; ];
configurePhase = '' configurePhase = ''