about summary refs log tree commit diff
path: root/scripts/nix-copy-closure.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-13T12·41+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-13T12·41+0200
commit969a14599d2f7bfd02971475b5b2be49fb965117 (patch)
treeee8e29c17041e39a4f09dfb41fe39e2d46d2a340 /scripts/nix-copy-closure.in
parent34a85c5405a228860a7bbe77239fb0204bf6952c (diff)
If "pv" is available at compile time, hard-code its path
Diffstat (limited to 'scripts/nix-copy-closure.in')
-rwxr-xr-xscripts/nix-copy-closure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in
index ca240d3ee5f8..12a83cff979c 100755
--- a/scripts/nix-copy-closure.in
+++ b/scripts/nix-copy-closure.in
@@ -63,7 +63,7 @@ while (@ARGV) {
         $includeOutputs = 1;
     }
     elsif ($arg eq "--show-progress") {
-        $progressViewer = "pv";
+        $progressViewer = "@pv@";
     }
     elsif ($arg eq "--dry-run") {
         $dryRun = 1;