mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
libstrangle: support 32bit via implicit layer
This commit is contained in:
parent
1a37a30af7
commit
5194de18ee
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteAllInPlace src/stranglevk.sh
|
substituteAllInPlace src/stranglevk.sh
|
||||||
'';
|
'';
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
substitute $out/share/vulkan/implicit_layer.d/libstrangle_vk.json $out/share/vulkan/implicit_layer.d/libstrangle_vk.x86.json \
|
||||||
|
--replace "libstrangle_vk.so" "$out/lib/libstrangle/lib32/libstrangle_vk.so"
|
||||||
substituteInPlace $out/share/vulkan/implicit_layer.d/libstrangle_vk.json \
|
substituteInPlace $out/share/vulkan/implicit_layer.d/libstrangle_vk.json \
|
||||||
--replace "libstrangle_vk.so" "$out/lib/libstrangle/lib64/libstrangle_vk.so"
|
--replace "libstrangle_vk.so" "$out/lib/libstrangle/lib64/libstrangle_vk.so"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user