llvm_{3,4}: re-add attributes with an error message about their removal

With this change, expressions relying on those old LLVM versions will
fail with a meaningful error message.
This commit is contained in:
Maximilian Bosch 2020-01-30 20:19:45 +01:00 committed by worldofpeace
parent 0fc6280715
commit f73d725967
2 changed files with 20 additions and 0 deletions

View file

@ -536,6 +536,9 @@ auth required pam_succeed_if.so uid >= 1000 quiet
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>The LLVM versions 3.5, 3.9 and 4 (including the corresponding CLang versions) have been dropped.</para>
</listitem>
</itemizedlist>
</section>

View file

@ -540,4 +540,21 @@ mapAliases ({
tor-browser-bundle = throw "tor-browser-bundle was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452.";
# added 2020-01-10
tor-browser-unwrapped = throw "tor-browser-unwrapped was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452.";
/* Cleanup before 20.09 */
llvm_4 = throw ''
The LLVM versions 3.5, 3.9 and 4.0 have been removed in NixOS 20.03
due to a lack of compatibility with glibc 2.30!
'';
llvm_39 = llvm_4;
llvm_35 = llvm_4;
lld_4 = llvm_4;
llvmPackages_4 = llvm_4;
llvmPackages_39 = llvm_4;
llvmPackages_35 = llvm_4;
clang_39 = llvm_4;
clang_35 = llvm_4;
clang_4 = llvm_4;
})