doc/python: correct platform conditional

This commit is contained in:
Artturin 2024-09-25 06:38:42 +03:00
parent 40799fc06d
commit 8f3e655750

View File

@ -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"
];