mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-01 05:04:40 +00:00
18 lines
308 B
Bash
Executable File
18 lines
308 B
Bash
Executable File
# shellcheck shell=bash
|
|
|
|
rebar3CompileHook() {
|
|
echo "Executing rebar3CompileHook"
|
|
|
|
runHook preBuild
|
|
|
|
HOME=. rebar3 bare compile --paths "."
|
|
|
|
runHook postBuild
|
|
|
|
echo "Finished rebar3CompileHook"
|
|
}
|
|
|
|
if [ -z "${dontRebar3Compile-}" ] && [ -z "${buildPhase-}" ]; then
|
|
buildPhase=rebar3CompileHook
|
|
fi
|