forked from mirrors/nixpkgs
Merge pull request #39094 from Ralith/vulkan
vulkan-loader: fix broken symlink in output
This commit is contained in:
commit
599ecd583f
|
@ -48,8 +48,8 @@ stdenv.mkDerivation rec {
|
||||||
cp -d loader/libvulkan.so* $out/lib
|
cp -d loader/libvulkan.so* $out/lib
|
||||||
cp demos/vulkaninfo $out/bin
|
cp demos/vulkaninfo $out/bin
|
||||||
mkdir -p $out/lib $out/share/vulkan/explicit_layer.d
|
mkdir -p $out/lib $out/share/vulkan/explicit_layer.d
|
||||||
cp -d layers/*.so $out/lib/
|
cp -L layers/*.so $out/lib/
|
||||||
cp -d layers/*.json $out/share/vulkan/explicit_layer.d/
|
cp -L layers/*.json $out/share/vulkan/explicit_layer.d/
|
||||||
sed -i "s:\\./lib:$out/lib/lib:g" "$out/share/vulkan/"*/*.json
|
sed -i "s:\\./lib:$out/lib/lib:g" "$out/share/vulkan/"*/*.json
|
||||||
mkdir -p $dev/include
|
mkdir -p $dev/include
|
||||||
cp -rv ../include $dev/
|
cp -rv ../include $dev/
|
||||||
|
|
Loading…
Reference in a new issue