diff --git a/mirror-nixos-branch.pl b/mirror-nixos-branch.pl index ead347d..e480aa6 100755 --- a/mirror-nixos-branch.pl +++ b/mirror-nixos-branch.pl @@ -225,4 +225,5 @@ system("git push origin $rev:refs/heads/$channelName >&2") == 0 or die; system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die; # Update channel on channels.nixos.org -$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location header" => $target }); +$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target }); +$bucketChannels->add_key("$channelsDir/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" });