3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #39094 from Ralith/vulkan

vulkan-loader: fix broken symlink in output
This commit is contained in:
xeji 2018-05-02 05:45:42 +02:00 committed by GitHub
commit 599ecd583f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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/