mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
pkgsLLVM: use target platform to fix cross
This commit is contained in:
parent
d7136b1c84
commit
2551138e30
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ let
|
|||
# Bootstrap a cross stdenv using the LLVM toolchain.
|
||||
# This is currently not possible when compiling natively,
|
||||
# so we don't need to check hostPlatform != buildPlatform.
|
||||
crossSystem = stdenv.hostPlatform // {
|
||||
crossSystem = stdenv.targetPlatform // {
|
||||
useLLVM = true;
|
||||
linker = "lld";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue