From d3effe14f53e61ad778d7478eeb83a97d9dd8143 Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Thu, 16 Apr 2026 00:08:04 -0700 Subject: [PATCH] Fix pkgs.hostPlatform deprecation warnings (#62) --- helpers.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers.nix b/helpers.nix index 55c2d48..6248017 100644 --- a/helpers.nix +++ b/helpers.nix @@ -48,8 +48,8 @@ rec { stdenv' = pkgs.overrideCC hostLLVM.stdenv hostLLVM.clangUseLLVM; in stdenv'.override (old: { - hostPlatform = mkLLVMPlatform old.hostPlatform; - buildPlatform = mkLLVMPlatform old.buildPlatform; + hostPlatform = mkLLVMPlatform stdenv'.hostPlatform; + buildPlatform = mkLLVMPlatform stdenv'.buildPlatform; extraNativeBuildInputs = [ hostLLVM.lld pkgs.patchelf