Use some of the library shortcuts
This commit is contained in:
parent
83c781f6fe
commit
7761112e37
@ -13,7 +13,7 @@
|
|||||||
, acl ? null
|
, acl ? null
|
||||||
, libaio ? null
|
, libaio ? null
|
||||||
, fam ? null
|
, fam ? null
|
||||||
, ceph ? null
|
, libceph ? null
|
||||||
, glusterfs ? null
|
, glusterfs ? null
|
||||||
|
|
||||||
# buildtools/wafsamba/wscript optionals
|
# buildtools/wafsamba/wscript optionals
|
||||||
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
|
|||||||
pythonPackages.subunit libbsd nss_wrapper socket_wrapper uid_wrapper
|
pythonPackages.subunit libbsd nss_wrapper socket_wrapper uid_wrapper
|
||||||
libarchive
|
libarchive
|
||||||
|
|
||||||
kerberos zlib openldap cups pam avahi acl libaio fam ceph glusterfs
|
kerberos zlib openldap cups pam avahi acl libaio fam libceph glusterfs
|
||||||
|
|
||||||
libiconv gettext
|
libiconv gettext
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ stdenv.mkDerivation rec {
|
|||||||
(mkWith (libarchive != null) "libarchive" null)
|
(mkWith (libarchive != null) "libarchive" null)
|
||||||
(mkWith true "cluster-support" null)
|
(mkWith true "cluster-support" null)
|
||||||
(mkWith (ncurses != null) "regedit" null)
|
(mkWith (ncurses != null) "regedit" null)
|
||||||
(mkWith ceph "libcephfs" ceph)
|
(mkWith libceph "libcephfs" libceph)
|
||||||
(mkEnable (glusterfs != null) "glusterfs" null)
|
(mkEnable (glusterfs != null) "glusterfs" null)
|
||||||
|
|
||||||
# dynconfig/wscript options
|
# dynconfig/wscript options
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool
|
{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool
|
||||||
, readline ? null, openssl ? null, python ? null, ncurses ? null
|
, readline ? null, openssl ? null, python ? null, ncurses ? null
|
||||||
, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
|
, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
|
||||||
, acl ? null, glusterfs ? null, ceph ? null, libcap ? null
|
, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert sqlite != null || postgresql != null || mysql != null;
|
assert sqlite != null || postgresql != null || mysql != null;
|
||||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig nettools gettext readline openssl python
|
pkgconfig nettools gettext readline openssl python
|
||||||
ncurses sqlite postgresql mysql.lib zlib lzo acl glusterfs ceph libcap
|
ncurses sqlite postgresql mysql.lib zlib lzo acl glusterfs libceph libcap
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -8620,7 +8620,7 @@ let
|
|||||||
cups = if stdenv.isDarwin then null else cups;
|
cups = if stdenv.isDarwin then null else cups;
|
||||||
pam = if stdenv.isDarwin then null else pam;
|
pam = if stdenv.isDarwin then null else pam;
|
||||||
libaio = if stdenv.isDarwin then null else libaio;
|
libaio = if stdenv.isDarwin then null else libaio;
|
||||||
ceph = if stdenv.isDarwin then null else ceph;
|
libceph = if stdenv.isDarwin then null else libceph;
|
||||||
glusterfs = if stdenv.isDarwin then null else glusterfs;
|
glusterfs = if stdenv.isDarwin then null else glusterfs;
|
||||||
dbus = if stdenv.isLinux then dbus else null;
|
dbus = if stdenv.isLinux then dbus else null;
|
||||||
libibverbs = if stdenv.isLinux then libibverbs else null;
|
libibverbs = if stdenv.isLinux then libibverbs else null;
|
||||||
@ -8654,7 +8654,7 @@ let
|
|||||||
acl = null;
|
acl = null;
|
||||||
libaio = null;
|
libaio = null;
|
||||||
fam = null;
|
fam = null;
|
||||||
ceph = null;
|
libceph = null;
|
||||||
glusterfs = null;
|
glusterfs = null;
|
||||||
|
|
||||||
# buildtools/wafsamba/wscript optionals
|
# buildtools/wafsamba/wscript optionals
|
||||||
|
Loading…
x
Reference in New Issue
Block a user