mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #197320 from figsoda/starfetch
starfetch: fix build on darwin
This commit is contained in:
commit
16031f889c
@ -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 New Issue
Block a user