about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-07-27T10·53+0300
committertazjin <tazjin@tvl.su>2022-07-27T21·54+0000
commit38d01f7f3b3f5679e704456fe3ec51c768a7a052 (patch)
treed363f637a9626075ccf3242de1cf2c88db57533b /third_party
parent7bfc859bfce91d8a33b829e439141269ea6647d4 (diff)
feat(3p): add pure rust-overlay r/4324
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 <wpcarro@gmail.com>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nixpkgs/default.nix1
-rw-r--r--third_party/sources/sources.json12
2 files changed, 13 insertions, 0 deletions
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/<owner>/<repo>/archive/<rev>.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/<owner>/<repo>/archive/<rev>.tar.gz"
+    },
     "rustsec-advisory-db": {
         "branch": "main",
         "description": "Security advisory database for Rust crates published through crates.io",