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:
@@ -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" ""
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user