openshadinglanguage: prefer postPatch over prePatch

`prePatch` is rarely what is wanted, since it means most patches that
change the same hunk would not apply.
This commit is contained in:
Andrew Marshall
2026-04-27 21:57:26 -04:00
parent 5cdc846972
commit 2f1ec9fe15
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "LLVM_DIRECTORY" "${llvm}")
];
prePatch = ''
postPatch = ''
substituteInPlace src/cmake/modules/FindLLVM.cmake \
--replace-fail "NO_DEFAULT_PATH" ""
'';