nixpkgs/pkgs/tools/misc/findutils-wrapper/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

9 lines
214 B
Bash

source $stdenv/setup
source $makeWrapper
makeWrapper "$findutils/bin/locate" "$out/bin/locate" \
--database=/var/locatedb
makeWrapper "$findutils/bin/updatedb" "$out/bin/updatedb" \
--set LOCATE_DB /var/locatedb