From 53594c65ceb29ca8aba2669830335239bb66a52f Mon Sep 17 00:00:00 2001 From: Joe Hermaszewski Date: Fri, 29 May 2020 19:07:34 +0800 Subject: [PATCH] haskellPackages.VulkanMemoryAllocator: Add extra library necessary for compilation --- pkgs/development/haskell-modules/configuration-common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index f57ac54dc86..e231e7d6bcb 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1007,6 +1007,9 @@ self: super: { # This package refers to the wrong library (itself in fact!) vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; }; + # Compiles some C++ source which requires these headers + VulkanMemoryAllocator = addExtraLibrary super.VulkanMemoryAllocator pkgs.vulkan-headers; + # # Builds only with the latest version of indexed-list-literals. # vector-sized_1_0_3_0 = super.vector-sized_1_0_3_0.override { # indexed-list-literals = self.indexed-list-literals_0_2_1_1;