dxa: move file argument in substituteInPlace

This commit is contained in:
AndersonTorres 2021-03-17 16:46:33 -03:00
parent 6603130e7e
commit 9b611eb998

View File

@ -18,9 +18,8 @@ stdenv.mkDerivation rec {
dontConfigure = true;
postPatch = ''
substituteInPlace \
--replace "CC = gcc" "CC = cc' \
Makefile
substituteInPlace Makefile \
--replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc"
'';
installPhase = ''