gtk2: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:32:19 +00:00
parent d9db71d581
commit 7562d78023
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xorg
{ config, stdenv, fetchurl, pkgconfig, gettext, glib, atk, pango, cairo, perl, xorg
, gdk_pixbuf, xlibsWrapper, gobject-introspection
, xineramaSupport ? stdenv.isLinux
, cupsSupport ? true, cups ? null
, cupsSupport ? config.gtk2.cups or stdenv.isLinux, cups ? null
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
, AppKit, Cocoa
, fetchpatch

View File

@ -10144,7 +10144,6 @@ in
elementary-cmake-modules = callPackage ../development/libraries/elementary-cmake-modules { };
gtk2 = callPackage ../development/libraries/gtk+/2.x.nix {
cupsSupport = config.gtk2.cups or stdenv.isLinux;
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa;
};