aboutsummaryrefslogtreecommitdiff
path: root/nix/rust.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-24 15:06:43 -0700
committerFuwn <[email protected]>2021-06-24 15:06:43 -0700
commit2bccd50b7a11dda0ae239ce13efcdac118bfee92 (patch)
tree28f665461bb9746d70878071b11537d784a59842 /nix/rust.nix
downloaddos-bot-2bccd50b7a11dda0ae239ce13efcdac118bfee92.tar.xz
dos-bot-2bccd50b7a11dda0ae239ce13efcdac118bfee92.zip
feat(dos-bot): :star:
Diffstat (limited to 'nix/rust.nix')
-rw-r--r--nix/rust.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/rust.nix b/nix/rust.nix
new file mode 100644
index 0000000..2f586f3
--- /dev/null
+++ b/nix/rust.nix
@@ -0,0 +1,9 @@
+{ sources ? import ./sources.nix }:
+
+let
+ pkgs = import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; };
+ channel = "nightly";
+ date = "2021-06-24";
+ targets = [ ];
+ chan = pkgs.rustChannelOfTargets channel date targets;
+in chan