3
0
Fork 0
forked from mirrors/nixpkgs

vulkan-loader: fix broken symlink in output

This commit is contained in:
Benjamin Saunders 2018-04-17 18:34:45 -07:00
parent 62dc989963
commit d1f7c51d17

View file

@ -48,8 +48,8 @@ stdenv.mkDerivation rec {
cp -d loader/libvulkan.so* $out/lib
cp demos/vulkaninfo $out/bin
mkdir -p $out/lib $out/share/vulkan/explicit_layer.d
cp -d layers/*.so $out/lib/
cp -d layers/*.json $out/share/vulkan/explicit_layer.d/
cp -L layers/*.so $out/lib/
cp -L layers/*.json $out/share/vulkan/explicit_layer.d/
sed -i "s:\\./lib:$out/lib/lib:g" "$out/share/vulkan/"*/*.json
mkdir -p $dev/include
cp -rv ../include $dev/