about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T15·27+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T15·27+0100
commit9f3eb56b460ad14647b90f9fc841776daf9beb47 (patch)
tree60cd6be3b5e11bfadae4ebb065fb5f4eccb01967 /perl
parent71b0a3a86bfd24b2a39df9b5f03b22d9faee64e8 (diff)
Reduce verbosity in build-remote.pl
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/Store.pm1
-rw-r--r--perl/lib/Nix/Store.xs5
2 files changed, 6 insertions, 0 deletions
diff --git a/perl/lib/Nix/Store.pm b/perl/lib/Nix/Store.pm
index 233a432ee085..f735a0a206ee 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 4c550cdb752c..fd2a6e2e8278 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 {