diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-01-14 18:49:39 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-03 09:39:39 -0800 |
commit | e5213f40dbd5a5ce22a13b5a0e130310e43ece76 (patch) | |
tree | 6b6816f3bc0458d3fa634e3b10208ef3c8b668f0 | |
parent | 0ccdb13c05e26b5e1bbaefea285b9500c8505284 (diff) |
cups: Add passthru printing test
-rw-r--r-- | pkgs/misc/cups/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 0e9977f564b19..2d0129e21c5ce 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -18,11 +18,9 @@ , avahi ? null , libpaper ? null , coreutils +, nixosTests }: -### IMPORTANT: before updating cups, make sure the nixos/tests/printing.nix test -### works at least for your platform. - with lib; stdenv.mkDerivation rec { pname = "cups"; @@ -137,6 +135,8 @@ stdenv.mkDerivation rec { --replace "Exec=htmlview" "Exec=xdg-open" ''; + passthru.tests.nixos = nixosTests.printing; + meta = { homepage = "https://openprinting.github.io/cups/"; description = "A standards-based printing system for UNIX"; |