limine: no need for unwrapped clang anymore

According to the latest changelog: https://github.com/limine-bootloader/limine/compare/v9.5.2...v9.6.0
This commit is contained in:
John Titor 2025-08-16 12:50:23 +05:30 committed by Masum Reza
parent a461d7e466
commit 4f59d136d9

View File

@ -55,7 +55,6 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
nativeBuildInputs = [
llvmPackages.clang-unwrapped
llvmPackages.libllvm
llvmPackages.lld
]
@ -79,13 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals pxeSupport' [ "--enable-bios-pxe" ]
++ lib.concatMap uefiFlags (
if targets == [ ] then [ stdenv.hostPlatform.parsed.cpu.name ] else targets
)
++ [
"TOOLCHAIN_FOR_TARGET=llvm"
# `clang` on `PATH` has to be unwrapped, but *a* wrapped clang
# still needs to be available
"CC=${lib.getExe stdenv.cc}"
];
);
passthru.tests = nixosTests.limine;