mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #330227 from ExpidusOS/fix/pkgsllvm-cross
pkgsLLVM: use target platform to fix cross
This commit is contained in:
commit
90f4da918f
@ -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 New Issue
Block a user