From 808a5bd2d83b153bebd61606936b05b957769816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 18 Apr 2013 20:54:23 +0200 Subject: [PATCH] openjpeg: flatten includes to make it better detectable --- pkgs/development/libraries/openjpeg/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/openjpeg/default.nix b/pkgs/development/libraries/openjpeg/default.nix index 60461b37b73b..7fd18af450c3 100644 --- a/pkgs/development/libraries/openjpeg/default.nix +++ b/pkgs/development/libraries/openjpeg/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, libpng, libtiff, lcms2 }: +{ stdenv, fetchurl, pkgconfig, libpng, libtiff, lcms2, glib/*passthru only*/ }: stdenv.mkDerivation rec { name = "openjpeg-1.5.1"; @@ -11,7 +11,10 @@ stdenv.mkDerivation rec { sha256 = "13dbyf3jwr4h2dn1k11zph3jgx17z7d66xmi640mbsf8l6bk1yvc"; }; - buildInputs = [ pkgconfig libpng libtiff lcms2 ]; + nativebuildInputs = [ pkgconfig ]; + propagatedBuildInputs = [ libpng libtiff lcms2 ]; # in closure anyway + + postInstall = glib.flattenInclude; meta = { homepage = http://www.openjpeg.org/;