From 8eacd0777633e8102e839d98c7a83e9b03068008 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 10 May 2022 13:09:27 +0800 Subject: [PATCH] tree-wide: SDL may not have a .dev --- pkgs/games/hyperrogue/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/hyperrogue/default.nix b/pkgs/games/hyperrogue/default.nix index 0397bb474da3..c1a3eddd25f4 100644 --- a/pkgs/games/hyperrogue/default.nix +++ b/pkgs/games/hyperrogue/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { sha256 = "0bijgbqpc867pq8lbwwvcnc713gm51mmz625xb5br0q2qw09nkyh"; }; - CPPFLAGS = "-I${SDL.dev}/include/SDL"; + CPPFLAGS = "-I${lib.getDev SDL}/include/SDL"; buildInputs = [ autoreconfHook SDL SDL_ttf SDL_gfx SDL_mixer libpng glew ];