buildRebar3: copy src for use in mix deps (#470162)

This commit is contained in:
Adam C. Stephens
2025-12-12 20:59:26 +00:00
committed by GitHub
@@ -89,6 +89,14 @@ let
''
+ postPatch;
preConfigure = ''
# Copy the source so it can be used by mix projects
# do this before building to avoid build artifacts but after patching
# to include any modifications
mkdir -p $out/src
cp -r "." "$out/src"
'';
buildPhase = ''
runHook preBuild
HOME=. rebar3 bare compile --paths "."