cups service: fix missing upstream systemd units caused by output splitting

Need to pass `cups.out` to `systemd.packages`, lest we end up with an invalid
generated unit containing only directives set in the service module.

This patch gives us a valid cups.service unit but, vexingly, does not fix the
test failure at NixOS/nixpkgs#14748
This commit is contained in:
Joachim Fasting 2016-04-16 09:07:48 +02:00
parent 909a46ff77
commit 47330b1732
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -277,7 +277,7 @@ in
# gets loaded, and then cups cannot access the printers.
boot.blacklistedKernelModules = [ "usblp" ];
systemd.packages = [ cups ];
systemd.packages = [ cups.out ];
systemd.services.cups =
{ wantedBy = [ "multi-user.target" ];