Merge pull request #197320 from figsoda/starfetch

starfetch: fix build on darwin
This commit is contained in:
Robert Scott
2022-10-23 20:37:20 +01:00
committed by GitHub

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 = ''