Use isDarwin instead of stdenv.hostPlatform

This commit is contained in:
Arnaud 2026-01-29 10:59:42 +04:00
parent 922f2d67ae
commit 86ae40a785
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -70,7 +70,7 @@ in stdenv.mkDerivation rec {
"V=${toString verbosity}"
"QUICK_AND_DIRTY_COMPILER=${if quickAndDirty then "1" else "0"}"
"QUICK_AND_DIRTY_NIMBLE=${if quickAndDirty then "1" else "0"}"
"TARGET_OS=${if stdenv.hostPlatform.isDarwin then "macOS" else "Linux"}"
"TARGET_OS=${if stdenv.isDarwin then "macOS" else "Linux"}"
];
# FIXME: Remove once permanent fix is applied to NBS: