about summary refs log tree commit diff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r--scripts/nix-push.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index 915163eca70b..7d285e0034a1 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -199,7 +199,7 @@ for (my $n = 0; $n < scalar @storePaths; $n++) {
 
     my $url;
     if ($localCopy) {
-        $url = "file://$localArchivesDir/$narName";
+        $url = "file://$targetArchivesDir/$narName";
     } else {
         $url = "$archivesGetURL/$narName";
     }