Unverified Commit 64d0b8b7 authored by Sebastian Neubauer's avatar Sebastian Neubauer
Browse files

amdvlk: workaround glslang 14 issue

Enabling shared libraries in glslang broke amdvlk.
Patching glslang locally fixes it.
parent a3c0b3b2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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