gtk*: remove assert cupsSupport -> cups != null

This commit is contained in:
Dmitry Kalinkin 2021-04-28 13:29:26 -04:00
parent afd7f222bf
commit 04e9977b41
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
3 changed files with 3 additions and 10 deletions

View file

@ -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

View file

@ -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 {

View file

@ -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 {