nixpkgs/pkgs/tools/misc/findutils-wrapper/builder.sh

9 lines
214 B
Bash
Raw Normal View History

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