install ncurses headers in the correct place

This commit is contained in:
Jude Taylor 2015-06-20 13:13:33 -07:00
parent 105feaa9f4
commit faf33749ce

View file

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
# the place we want to put *.pc files from other packages anyway. So we must
# tell it explicitly where to install with PKG_CONFIG_LIBDIR.
preConfigure = ''
export configureFlags="$configureFlags --includedir=$out/include"
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
mkdir -p "$PKG_CONFIG_LIBDIR"
'' + lib.optionalString stdenv.isCygwin ''