blugon: fix build on darwin

This commit is contained in:
Ryan Burns 2020-10-23 16:54:48 -07:00 committed by Jon
parent 0c102b283d
commit c58233a34a

View File

@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
buildInputs = [ python3 libX11 libXrandr ];
# Remove at next release
# https://github.com/jumper149/blugon/commit/d262cd05
postPatch = ''
sed -i 's,CC = gcc,CC ?= gcc,g' backends/scg/Makefile
'';
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {