From 5f7a454b3edc9d725463dff3e47d145d691c2886 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/rili/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/rili/default.nix b/pkgs/games/rili/default.nix index 3a87fc0523c7..9c6252a6dda3 100644 --- a/pkgs/games/rili/default.nix +++ b/pkgs/games/rili/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { }) ]; - CPPFLAGS = "-I${SDL.dev}/include -I${SDL.dev}/include/SDL -I${SDL_mixer}/include"; + CPPFLAGS = "-I${lib.getDev SDL}/include -I${lib.getDev SDL}/include/SDL -I${SDL_mixer}/include"; nativeBuildInputs = [ autoreconfHook ]; buildInputs = [ SDL SDL_mixer ];