nixpkgs/pkgs/tools/misc/findutils-wrapper/builder.sh
Armijn Hemel c055bf8adf fix findutils wrapper:
- add symlinks to find and xargs
- set LOCATE_PATH for locate

svn path=/nixpkgs/trunk/; revision=4544
2006-01-13 19:35:32 +00:00

13 lines
325 B
Bash

source $stdenv/setup
source $makeWrapper
makeWrapper "$findutils/bin/locate" "$out/bin/locate" \
--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"