diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index b1c2e74136ce..0db9a529644b 100644 --- a/nixos/tests/printing.nix +++ b/nixos/tests/printing.nix @@ -60,8 +60,8 @@ import ./make-test.nix ({pkgs, ... }: { $client->succeed("lpq") =~ /DeskjetRemote is ready.*no entries/s or die; # Test printing various file types. - foreach my $file ("${pkgs.groff}/share/doc/*/examples/mom/penguin.pdf", - "${pkgs.groff}/share/doc/*/meref.ps", + 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.pcre}/share/doc/pcre/pcre.txt") {