starfetch: fix build on darwin

This commit is contained in:
figsoda
2022-10-23 11:58:46 -04:00
parent f06ee92c26
commit 090b67c4c6
+2
View File
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
'' + lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile --replace g++ clang++
'';
installPhase = ''