mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
mapnik: use python3 for tools
but use python for the bindings.
This commit is contained in:
parent
e95ca01176
commit
53d4f53a14
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchzip
|
||||
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
|
||||
, libwebp, libxml2, proj, python, sqlite, zlib
|
||||
, libwebp, libxml2, proj, python3, python ? python3, sqlite, zlib
|
||||
|
||||
# supply a postgresql package to enable the PostGIS input plugin
|
||||
, postgresql ? null
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
# a distinct dev output makes python-mapnik fail
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs = [ python ];
|
||||
nativeBuildInputs = [ python3 ];
|
||||
|
||||
buildInputs =
|
||||
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
|
||||
|
Loading…
Reference in New Issue
Block a user