From 62ca3dd4b62f99aa62e696bb739177e8ca6923fe Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 12 Aug 2016 00:09:28 -0500 Subject: [PATCH] setroot: fix darwin build --- pkgs/tools/X11/setroot/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/X11/setroot/default.nix b/pkgs/tools/X11/setroot/default.nix index 74e0ed8d029c..81b888ccb783 100644 --- a/pkgs/tools/X11/setroot/default.nix +++ b/pkgs/tools/X11/setroot/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ libX11 imlib2 ] ++ stdenv.lib.optional enableXinerama libXinerama; - buildFlags = if enableXinerama then "xinerama=1" else "xinerama=0"; + buildFlags = "CC=cc " + (if enableXinerama then "xinerama=1" else "xinerama=0"); installFlags = "DESTDIR=$(out) PREFIX=";