midicsv: fix darwin build

This commit is contained in:
Ben Siraphob 2021-03-10 19:00:33 +07:00
parent da14f782bf
commit e79822050c

View File

@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
}; };
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace /usr/local $out substituteInPlace Makefile \
--replace /usr/local $out \
--replace gcc "${stdenv.cc.targetPrefix}cc"
''; '';
meta = with lib; { meta = with lib; {
@ -17,6 +19,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.fourmilab.ch/webtools/midicsv/"; homepage = "http://www.fourmilab.ch/webtools/midicsv/";
license = licenses.publicDomain; license = licenses.publicDomain;
maintainers = with maintainers; [ orivej ]; maintainers = with maintainers; [ orivej ];
platforms = platforms.linux; platforms = platforms.all;
}; };
} }