fix findutils wrapper:

- add symlinks to find and xargs
- set LOCATE_PATH for locate

svn path=/nixpkgs/trunk/; revision=4544
This commit is contained in:
Armijn Hemel 2006-01-13 19:35:32 +00:00
parent 088688e47e
commit c055bf8adf

View File

@ -2,7 +2,11 @@ source $stdenv/setup
source $makeWrapper
makeWrapper "$findutils/bin/locate" "$out/bin/locate" \
--database=/var/locatedb
--set LOCATE_PATH /var/locatedb
makeWrapper "$findutils/bin/updatedb" "$out/bin/updatedb" \
--set LOCATE_DB /var/locatedb
makeWrapper "$findutils/bin/find" "$out/bin/find"
makeWrapper "$findutils/bin/xargs" "$out/bin/xargs"