summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorJoe Hermaszewski <git@monoid.al>2020-05-29 19:07:34 +0800
committerPeter Simons <simons@cryp.to>2020-05-29 22:28:47 +0200
commit53594c65ceb29ca8aba2669830335239bb66a52f (patch)
tree1f2c7ad173de241b07d89ed003d36c83730af1d5 /pkgs/development/haskell-modules/configuration-common.nix
parent4b2b6ce65e3894391ee6a42b40fe5b6016f1592f (diff)
downloadnixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar.gz
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar.bz2
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar.lz
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar.xz
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.tar.zst
nixpkgs-53594c65ceb29ca8aba2669830335239bb66a52f.zip
haskellPackages.VulkanMemoryAllocator: Add extra library necessary for compilation
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 3 insertions, 0 deletions
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;