diff --git a/mirror-nixos-branch.pl b/mirror-nixos-branch.pl index bac4cb7..f0b4517 100755 --- a/mirror-nixos-branch.pl +++ b/mirror-nixos-branch.pl @@ -108,6 +108,7 @@ sub fetch { my $rev = $evalInfo->{jobsetevalinputs}->{nixpkgs}->{revision} or die; # Get commit date of $rev as unixtime and formatted string +run("git fetch origin $rev >&2") or die; my $revUnix = `git show --no-patch --format='%ct' $rev` or die; my $revDate = strftime("%F %T %Z", localtime($revUnix));