python.pkgs.django: fix gdal support on darwin

This commit is contained in:
Frederik Rietdijk
2017-10-09 18:14:15 +02:00
parent df41edfe1c
commit 549188c293
2 changed files with 4 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
pythonOlder,
geos, gdal, pytz
}:
buildPythonPackage rec {
pname = "Django";
name = "${pname}-${version}";
@@ -19,6 +20,7 @@ buildPythonPackage rec {
src = ./1.10-gis-libs.template.patch;
geos = geos;
gdal = gdal;
extension = stdenv.hostPlatform.extensions.sharedLibrary;
})
];