add ps to path for build
This commit is contained in:
parent
0852d9e364
commit
cafb12647f
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
md5 = "bf1d80c66d4822ec6036300399a33c03";
|
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 ]
|
buildInputs = [ cmake bison ncurses openssl readline zlib ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin perl;
|
++ stdenv.lib.optional stdenv.isDarwin perl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue