From 0fbb17370399ac73eda80512f21cdf9731a46411 Mon Sep 17 00:00:00 2001 From: tilcreator Date: Sun, 16 Jan 2022 16:12:12 +0100 Subject: [PATCH] glslang: fix SPIRVTargets.cmake --- pkgs/development/compilers/glslang/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/glslang/default.nix b/pkgs/development/compilers/glslang/default.nix index 97092950c6a4..7295db0d9d38 100644 --- a/pkgs/development/compilers/glslang/default.nix +++ b/pkgs/development/compilers/glslang/default.nix @@ -31,6 +31,11 @@ stdenv.mkDerivation rec { ln -s "${spirv-headers.src}" External/spirv-tools/external/spirv-headers ''; + # This is a dirty fix for lib/cmake/SPIRVTargets.cmake:51 which includes this directory + postInstall = '' + mkdir $out/include/External + ''; + meta = with lib; { inherit (src.meta) homepage; description = "Khronos reference front-end for GLSL and ESSL";