3
0
Fork 0
forked from mirrors/nixpkgs

libxtc_dxtn: fix using mesa headers

This commit is contained in:
Vladimír Čunát 2013-04-11 18:59:12 +02:00
parent 774afb7ff2
commit f59b0f8ccd

View file

@ -8,8 +8,5 @@ stdenv.mkDerivation rec {
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
};
postUnpack = ''
tar xf ${mesa.src} --wildcards '*/include/'
export NIX_CFLAGS_COMPILE="-I $NIX_BUILD_TOP/[mM]esa*/include"
'';
NIX_CFLAGS_COMPILE = "-I ${mesa}/include";
}