3
0
Fork 0
forked from mirrors/nixpkgs

setroot: fix darwin build

This commit is contained in:
Matthew Bauer 2016-08-12 00:09:28 -05:00
parent 0528b8c94e
commit 62ca3dd4b6

View file

@ -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=";