3
0
Fork 0
forked from mirrors/nixpkgs

gtk2: Enable xinput for Darwin

This commit is contained in:
Johannes Bornhold 2016-12-27 08:45:37 +01:00
parent 346c1db2ac
commit febab15b01

View file

@ -38,9 +38,13 @@ stdenv.mkDerivation rec {
++ optional xineramaSupport libXinerama ++ optional xineramaSupport libXinerama
++ optionals cupsSupport [ cups ]; ++ optionals cupsSupport [ cups ];
configureFlags = if stdenv.isDarwin configureFlags = [
then "--disable-glibtest --disable-introspection --disable-visibility" "--with-xinput=yes"
else "--with-xinput=yes"; ] ++ stdenv.lib.optionals stdenv.isDarwin [
"--disable-glibtest"
"--disable-introspection"
"--disable-visibility"
];
postInstall = '' postInstall = ''
moveToOutput share/gtk-2.0/demo "$devdoc" moveToOutput share/gtk-2.0/demo "$devdoc"