diff options
Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r-- | scripts/nix-push.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index f11cd1f46f83..02b1dec482a3 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -227,7 +227,7 @@ writeManifest $manifest, \%narFiles, \%patches; sub copyFile { my $src = shift; my $dst = shift; - system("cp '$src' '$dst.tmp'") == 0 or die "cannot copy file"; + system("@coreutils@/cp", $src, "$dst.tmp") == 0 or die "cannot copy file"; rename("$dst.tmp", "$dst") or die "cannot rename file"; } |