From fdec61cee283e4142bd385aa14ff7aa4a7934f7a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 1 May 2025 12:10:45 +0100 Subject: [PATCH] uhexen2: fix the build against SDL_compat Without the change build fails due to missing libraries as https://hydra.nixos.org/build/294936344: ../h2shared/glheader.h:40:10: fatal error: GL/gl.h: No such file or directory 40 | #include | ^~~~~~~~~ --- pkgs/by-name/uh/uhexen2/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/uh/uhexen2/package.nix b/pkgs/by-name/uh/uhexen2/package.nix index 1c56aaacf586..d8bdb19ea2d8 100644 --- a/pkgs/by-name/uh/uhexen2/package.nix +++ b/pkgs/by-name/uh/uhexen2/package.nix @@ -3,6 +3,8 @@ fetchgit, SDL, stdenv, + alsa-lib, + libGL, libogg, libvorbis, libmad, @@ -21,6 +23,8 @@ stdenv.mkDerivation { buildInputs = [ SDL + alsa-lib + libGL libogg libvorbis libmad