Reduce verbosity in build-remote.pl
This commit is contained in:
parent
71b0a3a86b
commit
9f3eb56b46
3 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,7 @@ our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
|
|||
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
||||
|
||||
our @EXPORT = qw(
|
||||
setVerbosity
|
||||
isValidPath queryReferences queryPathInfo queryDeriver queryPathHash
|
||||
queryPathFromHashPart
|
||||
topoSortPaths computeFSClosure followLinksToStorePath exportPaths importPaths
|
||||
|
|
|
@ -48,6 +48,11 @@ void init()
|
|||
doInit();
|
||||
|
||||
|
||||
void setVerbosity(int level)
|
||||
CODE:
|
||||
verbosity = (Verbosity) level;
|
||||
|
||||
|
||||
int isValidPath(char * path)
|
||||
CODE:
|
||||
try {
|
||||
|
|
|
@ -16,6 +16,8 @@ binmode STDERR, ":encoding(utf8)";
|
|||
|
||||
my $debug = defined $ENV{NIX_DEBUG_HOOK};
|
||||
|
||||
setVerbosity(0); # make exportPath() less verbose
|
||||
|
||||
|
||||
# General operation:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue