mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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:
parent
909a46ff77
commit
47330b1732
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user