llvmPackages.libllvm: fix enablePolly = false

Setting enablePolly = false was failing due to trying to patch a file that doesn't exist

> applying patch /nix/store/gr73nf6sca9nyzl88x58y3qxrav04yhd-polly-lit-cfg-add-libs-to-dylib-path.patch
> can't find file to patch at input line 5
This commit is contained in:
Luna Nova
2025-09-20 17:10:29 -07:00
parent be59f2f932
commit 89baf53225
@@ -206,8 +206,6 @@ stdenv.mkDerivation (
++ lib.optionals enablePolly [
# Just like the `gnu-install-dirs` patch, but for `polly`.
(getVersionFile "llvm/gnu-install-dirs-polly.patch")
]
++ [
# Just like the `llvm-lit-cfg` patch, but for `polly`.
(getVersionFile "llvm/polly-lit-cfg-add-libs-to-dylib-path.patch")
]