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
commit 16031f889c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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