Commit 4f59d136 authored by John Titor's avatar John Titor Committed by Masum Reza
Browse files

limine: no need for unwrapped clang anymore

parent a461d7e4
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -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;