mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
tacacsplus: disable libwrap
This commit is contained in:
parent
3fcbdcfc70
commit
bdce3dcf61
1 changed files with 14 additions and 5 deletions
|
@ -2,11 +2,13 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
tcp_wrappers,
|
||||
flex,
|
||||
bison,
|
||||
perl,
|
||||
libnsl,
|
||||
# --with-libwrap=yes is currently broken, TODO unbreak
|
||||
withLibWrap ? false,
|
||||
tcp_wrappers,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -22,10 +24,17 @@ stdenv.mkDerivation rec {
|
|||
flex
|
||||
bison
|
||||
];
|
||||
buildInputs = [
|
||||
tcp_wrappers
|
||||
perl
|
||||
libnsl
|
||||
buildInputs =
|
||||
[
|
||||
perl
|
||||
libnsl
|
||||
]
|
||||
++ lib.optionals withLibWrap [
|
||||
tcp_wrappers
|
||||
];
|
||||
|
||||
configureFlags = lib.optionals (!withLibWrap) [
|
||||
"--with-libwrap=no"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue