nixpkgs/pkgs/misc/nix-unstable/nix-0.10pre5896-date.patch

21 lines
687 B
Diff

diff -rc nix-0.10pre5896/scripts/download-using-manifests.pl.in nix-0.10pre5896.new/scripts/download-using-manifests.pl.in
*** nix-0.10pre5896/scripts/download-using-manifests.pl.in 2006-07-24 20:39:47.000000000 +0200
--- nix-0.10pre5896.new/scripts/download-using-manifests.pl.in 2006-08-02 18:06:53.000000000 +0200
***************
*** 27,33 ****
die unless scalar @ARGV == 1;
my $targetPath = $ARGV[0];
! my $date = `date` or die;
chomp $date;
print LOGFILE "$$ get $targetPath $date\n";
--- 27,33 ----
die unless scalar @ARGV == 1;
my $targetPath = $ARGV[0];
! my $date = `@coreutils@/date` or die;
chomp $date;
print LOGFILE "$$ get $targetPath $date\n";