Merge pull request #88028 from cole-h/doas
doas: enable timestamp by default and set pamdir
This commit is contained in:
commit
a78d9d6829
@ -3,6 +3,8 @@
|
||||
, fetchFromGitHub
|
||||
, bison
|
||||
, pam
|
||||
|
||||
, withTimestamp ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -19,6 +21,11 @@ stdenv.mkDerivation rec {
|
||||
# otherwise confuses ./configure
|
||||
dontDisableStatic = true;
|
||||
|
||||
configureFlags = [
|
||||
(lib.optionalString withTimestamp "--with-timestamp") # to allow the "persist" setting
|
||||
"--pamdir=${placeholder "out"}/etc/pam.d"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/\(chown\|chmod\)/d' bsd.prog.mk
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user