blob: a4ffa9fd141304b28efeb6cac125dee3e9a93e72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# shellcheck shell=bash
#
# Copy the source so it can be used by mix projects to assemble `deps`
# do this before building to avoid build artifacts but after patching
# to include any user modifications to the source
beamCopySourceHook() {
echo "Executing beamCopySourceHook"
mkdir -p "$out/src"
cp -r "." "$out/src"
echo "Finished beamCopySourceHook"
}
postPatchHooks+=(beamCopySourceHook)
|