Merge pull request #121060 from veprbl/pr/gtk_remove_cups_assert
gtk*: remove assert cupsSupport -> cups != null
This commit is contained in:
commit
2149ad5bdf
|
@ -1,15 +1,12 @@
|
||||||
{ config, lib, substituteAll, stdenv, fetchurl, pkg-config, gettext, glib, atk, pango, cairo, perl, xorg
|
{ config, lib, substituteAll, stdenv, fetchurl, pkg-config, gettext, glib, atk, pango, cairo, perl, xorg
|
||||||
, gdk-pixbuf, xlibsWrapper, gobject-introspection
|
, gdk-pixbuf, xlibsWrapper, gobject-introspection
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? config.gtk2.cups or stdenv.isLinux, cups ? null
|
, cupsSupport ? config.gtk2.cups or stdenv.isLinux, cups
|
||||||
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
|
, gdktarget ? if stdenv.isDarwin then "quartz" else "x11"
|
||||||
, AppKit, Cocoa
|
, AppKit, Cocoa
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert xineramaSupport -> xorg.libXinerama != null;
|
|
||||||
assert cupsSupport -> cups != null;
|
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -42,14 +42,12 @@
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux
|
, cupsSupport ? stdenv.isLinux
|
||||||
, withGtkDoc ? stdenv.isLinux
|
, withGtkDoc ? stdenv.isLinux
|
||||||
, cups ? null
|
, cups
|
||||||
, AppKit
|
, AppKit
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, broadwaySupport ? true
|
, broadwaySupport ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert cupsSupport -> cups != null;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
gtkCleanImmodulesCache = substituteAll {
|
gtkCleanImmodulesCache = substituteAll {
|
||||||
|
|
|
@ -46,14 +46,12 @@
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux
|
, cupsSupport ? stdenv.isLinux
|
||||||
, withGtkDoc ? stdenv.isLinux
|
, withGtkDoc ? stdenv.isLinux
|
||||||
, cups ? null
|
, cups
|
||||||
, AppKit
|
, AppKit
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, broadwaySupport ? true
|
, broadwaySupport ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert cupsSupport -> cups != null;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
gtkCleanImmodulesCache = substituteAll {
|
gtkCleanImmodulesCache = substituteAll {
|
||||||
|
|
Loading…
Reference in New Issue