Skip to content

Commit

Permalink
pkgs/top-level/stage.nix: use new toolchain attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Jan 25, 2025
1 parent 8c647fe commit 4252a65
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkgs/top-level/stage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
Expand Down Expand Up @@ -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";
};
};
Expand All @@ -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";
};
};
Expand Down

0 comments on commit 4252a65

Please sign in to comment.