vulkan-tools-lunarg: fix library paths
This commit is contained in:
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
|
||||
# Include absolute paths to layer libraries in their associated
|
||||
# layer definition json files.
|
||||
preFixup = ''
|
||||
for f in "$out"/etc/vulkan/explicit_layer.d/*.json "$out"/etc/vulkan/implicit_layer.d/*.json; do
|
||||
for f in "$out"/share/vulkan/explicit_layer.d/*.json "$out"/share/vulkan/implicit_layer.d/*.json; do
|
||||
jq <"$f" >tmp.json ".layer.library_path = \"$out/lib/\" + .layer.library_path"
|
||||
mv tmp.json "$f"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user