mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
shishi: resolve TODO
This commit is contained in:
parent
13b448d737
commit
cb1339b8d3
1 changed files with 9 additions and 4 deletions
|
|
@ -39,10 +39,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
libgcrypt
|
||||
libgpg-error
|
||||
libtasn1
|
||||
# TODO use lib.optional instead of setting packages to null
|
||||
(if usePam then pam else null)
|
||||
(if useLibidn then libidn else null)
|
||||
(if useGnutls then gnutls else null)
|
||||
]
|
||||
++ lib.optionals usePam [
|
||||
pam
|
||||
]
|
||||
++ lib.optionals useLibidn [
|
||||
libidn
|
||||
]
|
||||
++ lib.optionals useGnutls [
|
||||
gnutls
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue