nixpkgs-suyu/nixos
Bjørn Forsman 1010271c63 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
+  ''
2016-09-14 11:56:07 +01:00
..
doc/manual Merge pull request #18567 (VirtualBox 5.1.6) 2016-09-14 02:20:16 +02:00
lib nixos/lib/testing: Fix unsetting $xchg 2016-09-11 17:31:12 +02:00
maintainers Add AMIs in ap-northeast-2 and ap-south-1 2016-07-12 17:26:25 +02:00
modules nixos/pam: clean up generated files (no functional change) (#18580) 2016-09-14 11:56:07 +01:00
tests Merge pull request #18567 (VirtualBox 5.1.6) 2016-09-14 02:20:16 +02:00
COPYING
default.nix
README
release-combined.nix nixos/tests/kde5: rename from sddm-kde5 and run by default 2016-09-09 10:12:38 -05:00
release-small.nix release-small: drop mysql51, removed in 975d33e6 2016-08-13 09:46:42 +02:00
release.nix Disable nixos.tests.panamax 2016-09-13 20:41:40 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.