mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
Merge pull request #94040 from KAction/doas-nopam
doas: add enablePAM option
This commit is contained in:
commit
f3e4fc9491
@ -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"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user