From 8f3e65575083b0deac2b6f04de4af47d408cda16 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 25 Sep 2024 06:38:42 +0300 Subject: [PATCH] doc/python: correct platform conditional --- doc/languages-frameworks/python.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 946971e405d9a68..3fe588b7cc0284d 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1306,7 +1306,7 @@ for example: ] ++ lib.optionals (pythonAtLeast "3.8") [ # broken due to python3.8 async changes "async" - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + ] ++ lib.optionals stdenv.buildPlatform.isDarwin [ # can fail when building with other packages "socket" ];