tree-wide: various cleanups
It's mainly refactoring and mass-rebuild simplifications without any real impact (besides better readability).
This commit is contained in:
@@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig python perl yacc flex ]
|
||||
++ (with perlPackages; [ JSON ])
|
||||
++ optional (!libOnly) texinfo;
|
||||
buildInputs = (if (!stdenv.isFreeBSD) then [ libcap_ng db ] else []) ++ [ sqlite openssl libedit ]
|
||||
buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ]
|
||||
++ [ sqlite openssl libedit ]
|
||||
++ optionals (!libOnly) [ openldap pam ];
|
||||
|
||||
## ugly, X should be made an option
|
||||
|
||||
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1sgr61cnkgc5xazijaww6wpn5fnxl9vyj9ixk3r3y7ikv3x0gnyf";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionalString stdenv.isFreeBSD ''WARN_CFLAGS=""'';
|
||||
configureFlags = optional stdenv.isFreeBSD ''WARN_CFLAGS=""'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig perl yacc ]
|
||||
# Provides the mig command used by the build scripts
|
||||
++ stdenv.lib.optional stdenv.isDarwin bootstrap_cmds;
|
||||
++ optional stdenv.isDarwin bootstrap_cmds;
|
||||
buildInputs = [ openssl ]
|
||||
++ optionals (!libOnly) [ openldap libedit ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user