llvmPackages: select version by targetPlatform

This commit is contained in:
Emery Hemingway
2021-01-04 11:02:13 +01:00
parent b6af78fdf5
commit ee74ca3aa6
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ in lib.init bootStages ++ [
else if crossSystem.isDarwin
then buildPackages.llvmPackages.clang
else if crossSystem.useLLVM or false
then buildPackages.llvmPackages_8.lldClang
then buildPackages.llvmPackages.lldClang
else buildPackages.gcc;
extraNativeBuildInputs = old.extraNativeBuildInputs