3
0
Fork 0
forked from mirrors/nixpkgs

beam-modules/fetch-rebar-deps: Fix incorrect usage of 'prePhases' attribute

This commit is contained in:
Rickard Nilsson 2022-09-15 22:25:47 +02:00 committed by Yt
parent 132f514799
commit c6fba7c2de

View file

@ -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
'';