Merge pull request #94040 from KAction/doas-nopam

doas: add enablePAM option
This commit is contained in:
Samuel Dionne-Riel
2020-10-14 20:08:36 -04:00
committed by GitHub

View File

@@ -4,6 +4,7 @@
, bison
, pam
, withPAM ? true
, withTimestamp ? true
}:
@@ -23,6 +24,7 @@ stdenv.mkDerivation rec {
configureFlags = [
(lib.optionalString withTimestamp "--with-timestamp") # to allow the "persist" setting
(lib.optionalString (!withPAM) "--without-pam")
"--pamdir=${placeholder "out"}/etc/pam.d"
];