#! @perl@ -w @perlFlags@ use utf8; use strict; use Nix::SSH; use Nix::Config; use Nix::Store; use Nix::CopyClosure; use List::Util qw(sum); binmode STDERR, ":encoding(utf8)"; if (scalar @ARGV < 1) { print STDERR < 0) { print STDERR "copying ", scalar @missing, " missing paths from ‘$sshHost’...\n"; writeInt(5, $to); # == cmdExportPaths writeInt($sign ? 1 : 0, $to); writeStrings(\@missing, $to); importPaths(fileno($from)); } }