summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-01-14 18:49:39 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-02-03 09:39:39 -0800
commite5213f40dbd5a5ce22a13b5a0e130310e43ece76 (patch)
tree6b6816f3bc0458d3fa634e3b10208ef3c8b668f0
parent0ccdb13c05e26b5e1bbaefea285b9500c8505284 (diff)
downloadnixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar.gz
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar.bz2
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar.lz
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar.xz
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.tar.zst
nixpkgs-e5213f40dbd5a5ce22a13b5a0e130310e43ece76.zip
cups: Add passthru printing test
-rw-r--r--pkgs/misc/cups/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix
index 0e9977f564b..2d0129e21c5 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";