pkgsLLVM: use target platform to fix cross
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user