add ps to path for build

This commit is contained in:
Joel Taylor 2014-07-24 14:19:16 -07:00
parent 0852d9e364
commit cafb12647f

View File

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
md5 = "bf1d80c66d4822ec6036300399a33c03";
};
preConfigure = stdenv.lib.optional stdenv.isDarwin ''
ln -s /bin/ps $TMPDIR/ps
export PATH=$PATH:$TMPDIR
'';
buildInputs = [ cmake bison ncurses openssl readline zlib ]
++ stdenv.lib.optional stdenv.isDarwin perl;