Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 1010271c63f503113c0e8337977610ea783880ec
https://github.com/NixOS/nixpkgs/commit/1010271c63f503113c0e8337977610ea783880ec
Author: Bjørn Forsman <[email protected]>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M nixos/modules/security/pam.nix
Log Message:
-----------
nixos/pam: clean up generated files (no functional change) (#18580)
The generated files in /etc/pam.d/ typically have a lot of empty lines
in them, due to how the generated Nix strings are joined together;
optional elements that are excluded still produce a newline. This patch
changes how the files are generated to create more compact,
human-friendly output files.
The change is basically this, repeated:
- ''
- ${optionalString use_ldap
- "account sufficient ${pam_ldap}/lib/security/pam_ldap.so"}
- ''
+ optionalString use_ldap ''
+ account sufficient ${pam_ldap}/lib/security/pam_ldap.so
+ ''
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits