Skip to content

Commit 2d507ff

Browse files
authored
Merge pull request #12327 from NixOS/update-release-script
Update the release script
2 parents 7af6329 + f472be2 commit 2d507ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

maintainers/upload-release.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sub fetch {
4242
my $flakeInfo = decode_json(`nix flake metadata --json "$flakeUrl"` or die) if $flakeUrl;
4343
my $nixRev = ($flakeInfo ? $flakeInfo->{revision} : $evalInfo->{jobsetevalinputs}->{nix}->{revision}) or die;
4444

45-
my $buildInfo = decode_json(fetch("$evalUrl/job/build.nix.x86_64-linux", 'application/json'));
45+
my $buildInfo = decode_json(fetch("$evalUrl/job/build.nix-everything.x86_64-linux", 'application/json'));
4646
#print Dumper($buildInfo);
4747

4848
my $releaseName = $buildInfo->{nixname};
@@ -91,7 +91,7 @@ sub getStorePath {
9191
sub copyManual {
9292
my $manual;
9393
eval {
94-
$manual = getStorePath("build.nix.x86_64-linux", "doc");
94+
$manual = getStorePath("manual");
9595
};
9696
if ($@) {
9797
warn "$@";
@@ -240,12 +240,12 @@ sub downloadFile {
240240
# Upload nix-fallback-paths.nix.
241241
write_file("$tmpDir/fallback-paths.nix",
242242
"{\n" .
243-
" x86_64-linux = \"" . getStorePath("build.nix.x86_64-linux") . "\";\n" .
244-
" i686-linux = \"" . getStorePath("build.nix.i686-linux") . "\";\n" .
245-
" aarch64-linux = \"" . getStorePath("build.nix.aarch64-linux") . "\";\n" .
246-
" riscv64-linux = \"" . getStorePath("buildCross.nix.riscv64-unknown-linux-gnu.x86_64-linux") . "\";\n" .
247-
" x86_64-darwin = \"" . getStorePath("build.nix.x86_64-darwin") . "\";\n" .
248-
" aarch64-darwin = \"" . getStorePath("build.nix.aarch64-darwin") . "\";\n" .
243+
" x86_64-linux = \"" . getStorePath("build.nix-everything.x86_64-linux") . "\";\n" .
244+
" i686-linux = \"" . getStorePath("build.nix-everything.i686-linux") . "\";\n" .
245+
" aarch64-linux = \"" . getStorePath("build.nix-everything.aarch64-linux") . "\";\n" .
246+
" riscv64-linux = \"" . getStorePath("buildCross.nix-everything.riscv64-unknown-linux-gnu.x86_64-linux") . "\";\n" .
247+
" x86_64-darwin = \"" . getStorePath("build.nix-everything.x86_64-darwin") . "\";\n" .
248+
" aarch64-darwin = \"" . getStorePath("build.nix-everything.aarch64-darwin") . "\";\n" .
249249
"}\n");
250250

251251
# Upload release files to S3.

0 commit comments

Comments
 (0)