forked from mirrors/nixpkgs
beam-modules/fetch-rebar-deps: Fix incorrect usage of 'prePhases' attribute
This commit is contained in:
parent
132f514799
commit
c6fba7c2de
|
@ -15,11 +15,12 @@ stdenv.mkDerivation ({
|
|||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
dontFixup = true;
|
||||
|
||||
prePhases = ''
|
||||
cp ${src} .
|
||||
buildPhase = ''
|
||||
cp -r ${src} src
|
||||
chmod -R u+w src
|
||||
cd src
|
||||
HOME='.' DEBUG=1 ${rebar3}/bin/rebar3 get-deps
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue