Merge pull request #121060 from veprbl/pr/gtk_remove_cups_assert
gtk*: remove assert cupsSupport -> cups != null
This commit is contained in:
commit
2149ad5bdf
3 changed files with 3 additions and 10 deletions
|
@ -1,15 +1,12 @@
|
|||
{ config, lib, substituteAll, stdenv, fetchurl, pkg-config, gettext, glib, atk, pango, cairo, perl, xorg
|
||||
, gdk-pixbuf, xlibsWrapper, gobject-introspection
|
||||
, 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"
|
||||
, AppKit, Cocoa
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
assert xineramaSupport -> xorg.libXinerama != null;
|
||||
assert cupsSupport -> cups != null;
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
|
|
@ -42,14 +42,12 @@
|
|||
, xineramaSupport ? stdenv.isLinux
|
||||
, cupsSupport ? stdenv.isLinux
|
||||
, withGtkDoc ? stdenv.isLinux
|
||||
, cups ? null
|
||||
, cups
|
||||
, AppKit
|
||||
, Cocoa
|
||||
, broadwaySupport ? true
|
||||
}:
|
||||
|
||||
assert cupsSupport -> cups != null;
|
||||
|
||||
let
|
||||
|
||||
gtkCleanImmodulesCache = substituteAll {
|
||||
|
|
|
@ -46,14 +46,12 @@
|
|||
, xineramaSupport ? stdenv.isLinux
|
||||
, cupsSupport ? stdenv.isLinux
|
||||
, withGtkDoc ? stdenv.isLinux
|
||||
, cups ? null
|
||||
, cups
|
||||
, AppKit
|
||||
, Cocoa
|
||||
, broadwaySupport ? true
|
||||
}:
|
||||
|
||||
assert cupsSupport -> cups != null;
|
||||
|
||||
let
|
||||
|
||||
gtkCleanImmodulesCache = substituteAll {
|
||||
|
|
Loading…
Reference in a new issue