forked from mirrors/nixpkgs
libxtc_dxtn: fix using mesa headers
This commit is contained in:
parent
774afb7ff2
commit
f59b0f8ccd
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue