Merge pull request #197320 from figsoda/starfetch
starfetch: fix build on darwin
This commit is contained in:
commit
16031f889c
1 changed files with 2 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue