buildRebar3: copy src for use in mix deps (#470162)
This commit is contained in:
@@ -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 "."
|
||||
|
||||
Reference in New Issue
Block a user