about summary refs log tree commit diff
path: root/pkgs/games/eduke32
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-09-18 11:48:40 +0100
committerSergei Trofimovich <slyich@gmail.com>2022-09-21 07:36:32 +0100
commit83b01dd4ecc38725be5ae3639d0bcb4c4cd2d697 (patch)
tree8c201e06c90a5d43dabadfe2dacfc81ac9fc113a /pkgs/games/eduke32
parent9c2a7cc09d66fb7ffbc9609abe4d6d1521834152 (diff)
SDL2_mixer: add "dev" output
`SDL2_mixer` is a a popular game dependency. Split it's `dev` output to
separate store path to reduce runtime closure size.

While at it amend a few games's include paths.
Diffstat (limited to 'pkgs/games/eduke32')
-rw-r--r--pkgs/games/eduke32/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/eduke32/default.nix b/pkgs/games/eduke32/default.nix
index 4eb46e0ac155c..ec65db97ce436 100644
--- a/pkgs/games/eduke32/default.nix
+++ b/pkgs/games/eduke32/default.nix
@@ -58,7 +58,7 @@ in stdenv.mkDerivation rec {
     done
   '';
 
-  NIX_CFLAGS_COMPILE = "-I${SDL2.dev}/include/SDL2 -I${SDL2_mixer}/include/SDL2";
+  NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2 -I${lib.getDev SDL2_mixer}/include/SDL2";
 
   makeFlags = [
     "SDLCONFIG=${SDL2}/bin/sdl2-config"