lprint: Add enableExperimental parameter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user