Fix pkgs.hostPlatform deprecation warnings (#62)

This commit is contained in:
Lan Tian 2026-04-16 00:08:04 -07:00
parent 65eaf1492a
commit d3effe14f5
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B

View File

@ -48,8 +48,8 @@ rec {
stdenv' = pkgs.overrideCC hostLLVM.stdenv hostLLVM.clangUseLLVM; stdenv' = pkgs.overrideCC hostLLVM.stdenv hostLLVM.clangUseLLVM;
in in
stdenv'.override (old: { stdenv'.override (old: {
hostPlatform = mkLLVMPlatform old.hostPlatform; hostPlatform = mkLLVMPlatform stdenv'.hostPlatform;
buildPlatform = mkLLVMPlatform old.buildPlatform; buildPlatform = mkLLVMPlatform stdenv'.buildPlatform;
extraNativeBuildInputs = [ extraNativeBuildInputs = [
hostLLVM.lld hostLLVM.lld
pkgs.patchelf pkgs.patchelf