summary refs log tree commit diff
path: root/pkgs/tools/X11/setroot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/X11/setroot/default.nix')
-rw-r--r--pkgs/tools/X11/setroot/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/X11/setroot/default.nix b/pkgs/tools/X11/setroot/default.nix
index 74e0ed8d029..81b888ccb78 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=";