cctools-llvm: fix build with clang 16

This was not caught when cctools-llvm was added. The parens are
necessary to make sure this evaluates correctly when LLVM is new enough
to provide a compatible `otool`.
This commit is contained in:
Randy Eckenrode 2023-06-09 20:45:09 -04:00
parent 7b0f3375d6
commit 5841d0353a
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -97,7 +97,7 @@ stdenv.mkDerivation {
${linkManPages (lib.getMan cctools-port) "ld64" "ld64"} ${linkManPages (lib.getMan cctools-port) "ld64" "ld64"}
${lib.optionalString (!useLLVMOtool) # The actual man page for otool in cctools is llvm-otool ${lib.optionalString (!useLLVMOtool) # The actual man page for otool in cctools is llvm-otool
linkManPages (lib.getMan cctools-port) "llvm-otool" "llvm-otool"} (linkManPages (lib.getMan cctools-port) "llvm-otool" "llvm-otool")}
''; '';
passthru = { inherit targetPrefix; }; passthru = { inherit targetPrefix; };