Files
nixpkgs/pkgs/development/beam-modules/hooks/rebar-devendor-patch-hook.sh

14 lines
287 B
Bash

# shellcheck shell=bash
#
# It's common to vendor a copy of rebar/rebar3 in repos, but we want to remove those
rebarDevendorPatchHook() {
echo "Executing rebarDevendorPatchHook"
rm -f rebar rebar
echo "Finished rebarDevendorPatchHook"
}
prePatchHooks+=(rebarDevendorPatchHook)