moltenvk: fix broken ICD definition

This commit is contained in:
Randy Eckenrode 2022-04-19 20:33:54 -04:00
parent c67d1d8752
commit af99bbf451
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -178,7 +178,7 @@ stdenvNoCC.mkDerivation rec {
/usr/bin/codesign -s - -f "$out/lib/libMoltenVK.dylib"
install -m644 MoltenVK/icd/MoltenVK_icd.json "$out/share/vulkan/icd.d/MoltenVK_icd.json"
substituteInPlace $out/share/vulkan/icd.d/MoltenVK_icd.json \
--replace ./libMoltenVK.dylib "$out/share/vulkan/icd.d/MoltenVK_icd.json"
--replace ./libMoltenVK.dylib "$out/lib/libMoltenVK.dylib"
'';
sandboxProfile = ''