diff --git a/perl/lib/Nix/Store.pm b/perl/lib/Nix/Store.pm index 233a432e..f735a0a2 100644 --- a/perl/lib/Nix/Store.pm +++ b/perl/lib/Nix/Store.pm @@ -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 diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs index 4c550cdb..fd2a6e2e 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -48,6 +48,11 @@ void init() doInit(); +void setVerbosity(int level) + CODE: + verbosity = (Verbosity) level; + + int isValidPath(char * path) CODE: try { diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index dcf245d7..447a9fd7 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -16,6 +16,8 @@ binmode STDERR, ":encoding(utf8)"; my $debug = defined $ENV{NIX_DEBUG_HOOK}; +setVerbosity(0); # make exportPath() less verbose + # General operation: #