From 057c83ffc1bdf53b84ebcd2bd9a8be1483ab24df Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Fri, 24 Jan 2025 09:04:11 -0800 Subject: [PATCH] pkgs/top-level/stage.nix: use new toolchain attributes --- pkgs/top-level/stage.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 64bc2308f6da77..0b578aa239261e 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -207,6 +207,11 @@ let # so we don't need to check hostPlatform != buildPlatform. crossSystem = stdenv.hostPlatform // { useLLVM = true; + cc = "clang"; + bintools = "llvm"; + cxxlib = "libcxx"; + unwinderlib = "libunwind"; + rtlib = "compiler-rt"; linker = "lld"; }; }; @@ -235,6 +240,11 @@ let # so we don't need to check hostPlatform != buildPlatform. crossSystem = stdenv.hostPlatform // { useArocc = true; + cc = "arocc"; + bintools = "llvm"; + cxxlib = "libcxx"; + unwinderlib = "libunwind"; + rtlib = "compiler-rt"; linker = "lld"; }; }; @@ -250,6 +260,11 @@ let # so we don't need to check hostPlatform != buildPlatform. crossSystem = stdenv.hostPlatform // { useZig = true; + cc = "zig"; + bintools = "llvm"; + cxxlib = "libcxx"; + unwinderlib = "libunwind"; + rtlib = "compiler-rt"; linker = "lld"; }; };