Skip to content

Commit e7d66b2

Browse files
authored
repos: add guix-bordeaux, fix time-rs compilation issue (#73)
* fix: resolve time-rs/time#681 * repos: add guix-bordeaux
1 parent 4149477 commit e7d66b2

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

Rocket.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ flathub = "https://dl.flathub.org/repo"
2727
crates_io = "https://static.crates.io"
2828
dart_pub = "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
2929
guix = "https://ci.guix.gnu.org"
30+
guix_bordeaux = "https://bordeaux.guix.gnu.org"
3031
pytorch_wheels = "https://download.pytorch.org/whl"
3132
sjtug_internal = "https://github.com/sjtug"
3233
flutter_infra = "https://storage.flutter-io.cn/flutter_infra"

src/common.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ pub struct Endpoints {
185185
pub crates_io: String,
186186
pub dart_pub: String,
187187
pub guix: String,
188+
pub guix_bordeaux: String,
188189
pub pytorch_wheels: String,
189190
pub linuxbrew_bottles: String,
190191
pub sjtug_internal: String,
@@ -393,6 +394,7 @@ mod tests {
393394
crates_io: "https://static.crates.io".into(),
394395
dart_pub: "https://mirrors.tuna.tsinghua.edu.cn/dart-pub".into(),
395396
guix: "https://ci.guix.gnu.org".into(),
397+
guix_bordeaux: "https://bordeaux.guix.gnu.org".into(),
396398
pytorch_wheels: "https://download.pytorch.org/whl".into(),
397399
linuxbrew_bottles: "https://linuxbrew.bintray.com".into(),
398400
sjtug_internal: "https://github.com/sjtug".into(),

src/repos.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ pub fn configure_repo_routes(config: &mut web::ServiceConfig) {
293293
.route("/dart-pub/{path:.+}", web::get().to(dart_pub))
294294
.route("/pypi/web/simple/{path:.+}", web::get().to(pypi))
295295
.route("/guix/{path:.+}", nix_intel(|c| &c.guix, "guix"))
296+
.route(
297+
"/guix-bordeaux/{path:.+}",
298+
nix_intel(|c| &c.guix_bordeaux, "guix-bordeaux"),
299+
)
296300
.route(
297301
"/nix-channels/store/{path:.+}",
298302
nix_intel(|c| &c.nix_channels_store, "nix-channels/store"),

tests/config/Rocket.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ flathub = "https://dl.flathub.org/repo"
2626
crates_io = "https://static.crates.io"
2727
dart_pub = "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
2828
guix = "https://ci.guix.gnu.org"
29+
guix_bordeaux = "https://bordeaux.guix.gnu.org"
2930
pytorch_wheels = "https://download.pytorch.org/whl"
3031
sjtug_internal = "https://github.com/sjtug"
3132
flutter_infra = "https://storage.flutter-io.cn/flutter_infra"

0 commit comments

Comments
 (0)