Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set Content-Type to "text/plain" for install script #3948

Merged
merged 1 commit into from Aug 25, 2020
Merged

set Content-Type to "text/plain" for install script #3948

merged 1 commit into from Aug 25, 2020

Conversation

garbas
Copy link
Member

@garbas garbas commented Aug 20, 2020

fixes #3947


This change is Reviewable

@garbas garbas requested a review from edolstra August 20, 2020 11:23
@garbas
Copy link
Member Author

garbas commented Aug 20, 2020

This should now be in the right location (and not NixOS/nixos-channel-scripts#41 as I thought before)

@garbas
Copy link
Member Author

garbas commented Aug 20, 2020

I will manually update the content type for current release once this PR gets merged

@@ -117,7 +117,16 @@ sub downloadFile {
my $dstKey = "$releaseDir/" . $name;
unless (defined $releasesBucket->head_key($dstKey)) {
print STDERR "uploading $fn to s3://$releasesBucketName/$dstKey...\n";
$releasesBucket->add_key_filename($dstKey, $fn)

my $configuration = ();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
my $configuration = ();
my $configuration = {};

(I think, I didn't test.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edolstra edolstra merged commit 3ccf380 into NixOS:master Aug 25, 2020
@garbas garbas deleted the fix-3947 branch August 25, 2020 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

https://nixos.org/nix/install should set Content-Type
2 participants