diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-23 15:36:31 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-23 15:36:31 +0300 |
commit | 192d7a4cba865613faa46e4ab14a9418711fd6db (patch) | |
tree | fe3410b48178dfe76ce74ee0330721dd6783033b | |
parent | 7b2106c32daf1495d3bc4ce322d81dc967da8869 (diff) |
mjpegtools: remove SDL input when build is minimal
-rw-r--r-- | pkgs/tools/video/mjpegtools/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/video/mjpegtools/default.nix b/pkgs/tools/video/mjpegtools/default.nix index 4da0b3a83d80..40fe5eb01477 100644 --- a/pkgs/tools/video/mjpegtools/default.nix +++ b/pkgs/tools/video/mjpegtools/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ libdv libjpeg libpng pkgconfig ] ++ lib.optional (!withMinimal) [ gtk libX11 SDL SDL_gfx ]; - NIX_CFLAGS_COMPILE = [ "-I${SDL}/include/SDL" ]; + NIX_CFLAGS_COMPILE = lib.optional (!withMinimal) "-I${SDL}/include/SDL"; postPatch = '' sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure |