Fix .nixpkg channel uri
[?]
Mar 2, 2016, 2:35 PM
GIUGQKVRMT7BMVF5FKCINDJMTLUG6S5TCKDIPY3U76OS74VP3QSQCDependencies
- [2]
PMNWRTGJAdd multiple output support - [3]
ON4DDIBZ* Forgot to commit. - [4]
CQTN62OHDie tabs die - [5]
5Y3XOQBRInclude the URL of the binary cache in .nixpkg files - [6]
3PNG7NIBRemove trailing whitespace
Change contents
- edit in src/lib/Hydra/View/NixPkg.pm at line 13
my $storeMode = $c->config->{store_mode} // "direct";my $channelUri =$storeMode eq "direct" ? $c->uri_for('/'): $storeMode eq "s3-binary-cache" ?($c->config->{binary_cache_public_uri} // ("https://" . $c->config->{binary_cache_s3_bucket} . ".s3.amazonaws.com/")): die "Not supported.\n"; - replacement in src/lib/Hydra/View/NixPkg.pm at line 24
. " " . $c->uri_for('/');. " " . $channelUri;