starfetch: fix build on darwin

This commit is contained in:
figsoda 2022-10-23 00:21:43 -04:00
parent f06ee92c26
commit 090b67c4c6

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/ substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
'' + lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile --replace g++ clang++
''; '';
installPhase = '' installPhase = ''