lprint: Add enableExperimental parameter

This commit is contained in:
Gavin John
2025-08-13 14:30:08 -04:00
committed by Gavin John
parent 63b6eaad26
commit 01be539805
+4
View File
@@ -5,6 +5,8 @@
pappl,
cups,
pkg-config,
# Enables support for untested printers. It makes sense to default this to true, as it's unlikely to result in any issues
enableExperimental ? true,
}:
stdenv.mkDerivation rec {
@@ -32,6 +34,8 @@ stdenv.mkDerivation rec {
cups
];
configureFlags = lib.optional enableExperimental "--enable-experimental";
doInstallCheck = true;
installCheckPhase = ''
$out/bin/lprint --help