summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2024-09-25 06:14:50 +0300
committerArtturin <Artturin@artturin.com>2024-09-25 06:14:50 +0300
commit06519058fd753c2292b17643299c3f0db55db488 (patch)
treede69ca802713d4afd2e39b1a42a6a911325e4466 /pkgs/development/python-modules/python-mapnik
parente34a522374169073917f913c8e6a577458074c58 (diff)
parentf0e657f3b1ee241170f821939b03db2374740856 (diff)
Merge branch 'staging-next' into staging
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
-rw-r--r--pkgs/development/python-modules/python-mapnik/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix
index eed723f10d8e..c06251663e0b 100644
--- a/pkgs/development/python-modules/python-mapnik/default.nix
+++ b/pkgs/development/python-modules/python-mapnik/default.nix
@@ -53,7 +53,7 @@ buildPythonPackage rec {
./python-mapnik_std_optional.patch
];
- stdenv = if python.stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv;
+ stdenv = if python.stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv;
build-system = [ setuptools ];
@@ -103,7 +103,7 @@ buildPythonPackage rec {
# import from $out
rm -r mapnik
''
- + lib.optionalString stdenv.isDarwin ''
+ + lib.optionalString stdenv.hostPlatform.isDarwin ''
# Replace the hardcoded /tmp references with $TMPDIR
sed -i "s,/tmp,$TMPDIR,g" test/python_tests/*.py
'';
@@ -114,7 +114,7 @@ buildPythonPackage rec {
"test_passing_pycairo_context_pdf"
"test_pdf_printing"
"test_render_with_scale_factor"
- ] ++ lib.optionals stdenv.isDarwin [
+ ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
"test_passing_pycairo_context_png"
"test_passing_pycairo_context_svg"
"test_pycairo_pdf_surface1"