summary refs log tree commit diff
path: root/pkgs/games/quakespasm
diff options
context:
space:
mode:
authorTad Fisher <tadfisher@gmail.com>2018-09-08 13:13:23 -0700
committerTad Fisher <tadfisher@gmail.com>2018-09-08 13:13:23 -0700
commitb19cdc31c12ee262b9892f2f60903483bf5a7f31 (patch)
tree1b0cea1581f547912a1b471c253dd44de7a8e914 /pkgs/games/quakespasm
parentca2ba44cab47767c8127d1c8633e2b581644eb8f (diff)
downloadnixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar.gz
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar.bz2
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar.lz
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar.xz
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.tar.zst
nixpkgs-b19cdc31c12ee262b9892f2f60903483bf5a7f31.zip
vkquake: fix build
Diffstat (limited to 'pkgs/games/quakespasm')
-rw-r--r--pkgs/games/quakespasm/vulkan.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/games/quakespasm/vulkan.nix b/pkgs/games/quakespasm/vulkan.nix
index 2cf09e2ec93..6f69c646950 100644
--- a/pkgs/games/quakespasm/vulkan.nix
+++ b/pkgs/games/quakespasm/vulkan.nix
@@ -1,4 +1,5 @@
-{ stdenv, SDL2, fetchFromGitHub, makeWrapper, gzip, libvorbis, libmad, vulkan-loader }:
+{ stdenv, SDL2, fetchFromGitHub, makeWrapper, gzip, libvorbis, libmad, vulkan-headers, vulkan-loader }:
+
 stdenv.mkDerivation rec {
   name = "vkquake-${version}";
   majorVersion = "1.00";
@@ -13,8 +14,12 @@ stdenv.mkDerivation rec {
 
   sourceRoot = "source/Quake";
 
+  nativeBuildInputs = [
+    makeWrapper vulkan-headers
+  ];
+
   buildInputs = [
-    makeWrapper gzip SDL2 libvorbis libmad vulkan-loader.dev
+    gzip SDL2 libvorbis libmad vulkan-loader
   ];
 
   buildFlags = [ "DO_USERDIRS=1" ];