nixpkgs/pkgs/tools/misc/findutils-wrapper/builder.sh
2005-08-23 13:47:01 +00:00

9 lines
204 B
Bash

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