diff --git a/pkgs/tools/X11/libstrangle/default.nix b/pkgs/tools/X11/libstrangle/default.nix index 64992a9b5ee8..e0d28dfde329 100644 --- a/pkgs/tools/X11/libstrangle/default.nix +++ b/pkgs/tools/X11/libstrangle/default.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { substituteAllInPlace src/strangle.sh substituteAllInPlace src/stranglevk.sh ''; + postInstall = '' + substituteInPlace $out/share/vulkan/implicit_layer.d/libstrangle_vk.json \ + --replace "libstrangle_vk.so" "$out/lib/libstrangle/lib64/libstrangle_vk.so" + ''; meta = with lib; { homepage = "https://gitlab.com/torkel104/libstrangle";