1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
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"