mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
lighttpd: remove null defaults for input packages
This commit is contained in:
parent
8a585fd5c5
commit
5655e71eee
|
@ -1,26 +1,16 @@
|
|||
{ lib, stdenv, buildPackages, fetchurl, pkg-config, pcre, libxml2, zlib, bzip2, which, file
|
||||
, openssl
|
||||
, enableDbi ? false, libdbi ? null
|
||||
, enableMagnet ? false, lua5_1 ? null
|
||||
, enableMysql ? false, libmysqlclient ? null
|
||||
, enableLdap ? false, openldap ? null
|
||||
, enablePam ? false, linux-pam ? null
|
||||
, enableSasl ? false, cyrus_sasl ? null
|
||||
, enableWebDAV ? false, sqlite ? null, libuuid ? null
|
||||
, enableExtendedAttrs ? false, attr ? null
|
||||
, enableDbi ? false, libdbi
|
||||
, enableMagnet ? false, lua5_1
|
||||
, enableMysql ? false, libmysqlclient
|
||||
, enableLdap ? false, openldap
|
||||
, enablePam ? false, linux-pam
|
||||
, enableSasl ? false, cyrus_sasl
|
||||
, enableWebDAV ? false, sqlite, libuuid
|
||||
, enableExtendedAttrs ? false, attr
|
||||
, perl
|
||||
}:
|
||||
|
||||
assert enableDbi -> libdbi != null;
|
||||
assert enableMagnet -> lua5_1 != null;
|
||||
assert enableMysql -> libmysqlclient != null;
|
||||
assert enableLdap -> openldap != null;
|
||||
assert enablePam -> linux-pam != null;
|
||||
assert enableSasl -> cyrus_sasl != null;
|
||||
assert enableWebDAV -> sqlite != null;
|
||||
assert enableWebDAV -> libuuid != null;
|
||||
assert enableExtendedAttrs -> attr != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lighttpd";
|
||||
version = "1.4.59";
|
||||
|
|
Loading…
Reference in a new issue