summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/blugon
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2020-10-23 16:54:48 -0700
committerJon <jonringer@users.noreply.github.com>2020-10-23 18:06:36 -0700
commitc58233a34a0c005c0b1d73b3cc853c346dfd11da (patch)
tree014452637be86a1e544e1ad8eca0a62316e80fda /pkgs/applications/misc/blugon
parent0c102b283d5fbd3daf030e09388bbfb39e4f2c8a (diff)
blugon: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc/blugon')
-rw-r--r--pkgs/applications/misc/blugon/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/blugon/default.nix b/pkgs/applications/misc/blugon/default.nix
index 896daa27f7cb..9aa8d3da39a0 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; {