diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index 10d69b446cd..c777fd41b78 100644 --- a/nixos/tests/printing.nix +++ b/nixos/tests/printing.nix @@ -62,7 +62,7 @@ import ./make-test.nix ({pkgs, ... }: { # Test printing various file types. foreach my $file ("${pkgs.groff.doc}/share/doc/*/examples/mom/penguin.pdf", "${pkgs.groff.doc}/share/doc/*/meref.ps", - "${pkgs.cups}/share/doc/cups/images/cups.png", + "${pkgs.cups.out}/share/doc/cups/images/cups.png", "${pkgs.pcre.doc}/share/doc/pcre/pcre.txt") { $file =~ /([^\/]*)$/; my $fn = $1;