about summary refs log tree commit diff
path: root/pkgs/tools/graphics/quirc
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2022-05-10 13:09:27 +0800
committerPeter Hoeg <peter@hoeg.com>2022-05-27 08:09:56 +0800
commit30d5b538fa5671564d3e0d737d1c017674623006 (patch)
tree60f7170e47d48d013f0c3f6ddd4eec37ea6df1a2 /pkgs/tools/graphics/quirc
parent112e6456a3003b8faf23aae044244fe93c24b54b (diff)
tree-wide: SDL may not have a .dev
Diffstat (limited to 'pkgs/tools/graphics/quirc')
-rw-r--r--pkgs/tools/graphics/quirc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/quirc/default.nix b/pkgs/tools/graphics/quirc/default.nix
index 6ad0262da3a13..0cf407faa0dc3 100644
--- a/pkgs/tools/graphics/quirc/default.nix
+++ b/pkgs/tools/graphics/quirc/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
   buildInputs = [ SDL SDL_gfx libjpeg libpng opencv ];
 
   makeFlags = [ "PREFIX=$(out)" ];
-  NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL -I${SDL_gfx}/include/SDL";
+  NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL}/include/SDL -I${SDL_gfx}/include/SDL";
 
   # Disable building of linux-only demos on darwin systems
   patches = lib.optionals stdenv.isDarwin [ ./0001-dont-build-demos.patch ];