git.iko.soy/typeable/nixpkgs
on master help sign in
doas: don't configure pamdir

In the future, doas won't ship PAM files (see https://github.com/Duncaen/OpenDoas/commit/cfa9f0d3b306d6c1287ec4f2aa42be29de66c9de), and we already configure PAM in the doas module. Configuring the pamdir serves no purpose.

commit408b107b0cae3687bf87b6b300dacaf51bdd76d5 authorCole Helbling <cole.e.helbling@outlook.com> dateWed 3 Feb 2021, 00:25 (6 years ago) parentc9091a9
1 file changed−1
pkgs/tools/security/doas/default.nix−1
pkgs/tools/security/doas/default.nix−1
@@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
2525 configureFlags = [
2626 (lib.optionalString withTimestamp "--with-timestamp") # to allow the "persist" setting
2727 (lib.optionalString (!withPAM) "--without-pam")
28− "--pamdir=${placeholder "out"}/etc/pam.d"
2928 ];
3029
3130 patches = [