3
0
Fork 0
forked from mirrors/nixpkgs

nixos/printers: fix example for hardware.printers.ensurePrinters.*.model

It's `lib.versions`, not `lib.version`. Also I'm really sure that it's
supposed to be the current version of Gutenprint, not Cups, as thats
what `lpinfo -m` says on my system.
This commit is contained in:
Justin Humm 2020-04-28 22:28:46 +02:00
parent 4426104c8c
commit 6a7713449f
No known key found for this signature in database
GPG key ID: 5F24E3BD56617EB2

View file

@ -84,7 +84,7 @@ in {
model = mkOption {
type = types.str;
example = literalExample ''
gutenprint.''${lib.version.majorMinor (lib.getVersion pkgs.cups)}://brother-hl-5140/expert
gutenprint.''${lib.versions.majorMinor (lib.getVersion pkgs.gutenprint)}://brother-hl-5140/expert
'';
description = ''
Location of the ppd driver file for the printer.