mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
starfetch: fix build on darwin
This commit is contained in:
parent
f06ee92c26
commit
090b67c4c6
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
|
substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
|
||||||
|
'' + lib.optionalString stdenv.cc.isClang ''
|
||||||
|
substituteInPlace makefile --replace g++ clang++
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user