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:
parent
a461d7e466
commit
4f59d136d9
@ -55,7 +55,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
llvmPackages.clang-unwrapped
|
|
||||||
llvmPackages.libllvm
|
llvmPackages.libllvm
|
||||||
llvmPackages.lld
|
llvmPackages.lld
|
||||||
]
|
]
|
||||||
@ -79,13 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
++ lib.optionals pxeSupport' [ "--enable-bios-pxe" ]
|
++ lib.optionals pxeSupport' [ "--enable-bios-pxe" ]
|
||||||
++ lib.concatMap uefiFlags (
|
++ lib.concatMap uefiFlags (
|
||||||
if targets == [ ] then [ stdenv.hostPlatform.parsed.cpu.name ] else targets
|
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;
|
passthru.tests = nixosTests.limine;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user