From 86ae40a7859ba2fd33c190c920c0c0e132a513e2 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 29 Jan 2026 10:59:42 +0400 Subject: [PATCH] Use isDarwin instead of stdenv.hostPlatform --- nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index 5dfa42c8..ce6da3fe 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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: