diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-04-16 09:07:48 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-04-16 09:47:17 +0200 |
commit | 47330b1732b67e7d5fee283685b48fdcafdc91e6 (patch) | |
tree | 6a83fca441d10f15e7d6fe8c091fdcd32180889d /nixos | |
parent | 909a46ff7763ed3b124ca9e56713dcc4f81bc189 (diff) | |
download | nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar.gz nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar.bz2 nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar.lz nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar.xz nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.tar.zst nixlib-47330b1732b67e7d5fee283685b48fdcafdc91e6.zip |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/printing/cupsd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index 29166be2399b..e4c96c24e64b 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -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" ]; |