From c58233a34a0c005c0b1d73b3cc853c346dfd11da Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 23 Oct 2020 16:54:48 -0700 Subject: [PATCH] blugon: fix build on darwin --- pkgs/applications/misc/blugon/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/misc/blugon/default.nix b/pkgs/applications/misc/blugon/default.nix index 896daa27f7c..9aa8d3da39a 100644 --- a/pkgs/applications/misc/blugon/default.nix +++ b/pkgs/applications/misc/blugon/default.nix @@ -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; {