intel-graphics-compiler: move substitutes to postPatch

This commit is contained in:
Bernardo Meurer 2022-05-05 15:27:48 -07:00
parent f4f9691c9f
commit eaaa116016
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
# https://github.com/intel/intel-graphics-compiler/issues/98
doCheck = false;
patchPhase = ''
postPatch = ''
substituteInPlace ./external/SPIRV-Tools/CMakeLists.txt \
--replace '$'''{SPIRV-Tools_DIR}../../..' \
'${spirv-tools}' \