Skip to content

Commit 9093c2d

Browse files
lprint: Add enableExperimental parameter and adopt (#317213)
2 parents 0934d96 + e550600 commit 9093c2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkgs/by-name/lp/lprint/package.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
pappl,
66
cups,
77
pkg-config,
8+
# Enables support for untested printers. It makes sense to default this to true, as it's unlikely to result in any issues
9+
enableExperimental ? true,
810
}:
911

1012
stdenv.mkDerivation rec {
@@ -32,6 +34,8 @@ stdenv.mkDerivation rec {
3234
cups
3335
];
3436

37+
configureFlags = lib.optional enableExperimental "--enable-experimental";
38+
3539
doInstallCheck = true;
3640
installCheckPhase = ''
3741
$out/bin/lprint --help
@@ -45,6 +49,6 @@ stdenv.mkDerivation rec {
4549
homepage = "https://github.com/michaelrsweet/lprint";
4650
license = licenses.asl20;
4751
platforms = platforms.linux;
48-
maintainers = [ ];
52+
maintainers = with lib.maintainers; [ pandapip1 ];
4953
};
5054
}

0 commit comments

Comments
 (0)