amdvlk: workaround glslang 14 issue

Enabling shared libraries in glslang broke amdvlk.
Patching glslang locally fixes it.
This commit is contained in:
Sebastian Neubauer
2024-10-17 11:52:26 +02:00
parent a3c0b3b215
commit 64d0b8b701
+3 -1
View File
@@ -23,6 +23,8 @@
let
suffix = if stdenv.system == "x86_64-linux" then "64" else "32";
# Fix https://github.com/NixOS/nixpkgs/issues/348903 until the glslang update to 15.0.0 is merged into master
glslang_fixed = glslang.overrideAttrs (finalAttrs: oldAttrs: { cmakeFlags = [ ]; });
in
stdenv.mkDerivation (finalAttrs: {
@@ -59,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
[
cmake
directx-shader-compiler
glslang
glslang_fixed
ninja
patchelf
perl