From 38d01f7f3b3f5679e704456fe3ec51c768a7a052 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 27 Jul 2022 13:53:48 +0300 Subject: feat(3p): add pure rust-overlay this overlay makes things like webassembly toolchains accessible in depot. it is similar to the official mozilla overlay, except fully pinned and updated daily by the upstream. Change-Id: I0eb31a43d367807d5d7e70269852c1520159cca6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5979 Tested-by: BuildkiteCI Reviewed-by: wpcarro Reviewed-by: grfn --- third_party/nixpkgs/default.nix | 1 + third_party/sources/sources.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix index 9ac3e05149bd..9060b5e0e1b7 100644 --- a/third_party/nixpkgs/default.nix +++ b/third_party/nixpkgs/default.nix @@ -70,5 +70,6 @@ import nixpkgsSrc (commonNixpkgsArgs // { depot.third_party.overlays.tvl depot.third_party.overlays.ecl-static depot.third_party.overlays.dhall + (import depot.third_party.sources.rust-overlay) ] else [ ]); }) diff --git a/third_party/sources/sources.json b/third_party/sources/sources.json index eeed10fc1ba4..2838d390edbc 100644 --- a/third_party/sources/sources.json +++ b/third_party/sources/sources.json @@ -71,6 +71,18 @@ "url": "https://github.com/NixOS/nixpkgs/archive/573603b7fdb9feb0eb8efc16ee18a015c667ab1b.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, + "rust-overlay": { + "branch": "master", + "description": "Pure and reproducible nix overlay of binary distributed rust toolchains", + "homepage": "", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "eb5da5f2f030d144f405b5195c2b688aafce4c88", + "sha256": "1c97l2s8zd458qi3k958ighh0y3mhfwp7rlxjbba5qss71q3jmq4", + "type": "tarball", + "url": "https://github.com/oxalica/rust-overlay/archive/eb5da5f2f030d144f405b5195c2b688aafce4c88.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "rustsec-advisory-db": { "branch": "main", "description": "Security advisory database for Rust crates published through crates.io", -- cgit 1.4.1