summaryrefslogtreecommitdiff
path: root/nix/rust.nix
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-02-28 09:34:37 -0500
committerCara Salter <cara@devcara.com>2022-02-28 09:34:37 -0500
commitd6126294bf27c93e0f05cbd3129e9b20493db6d0 (patch)
tree9643f07b01d05449ca9fdcfb5b9076b747f7a5e8 /nix/rust.nix
parenta610350e7e012a790e63fb86cbcb61effb041105 (diff)
downloadsite-d6126294bf27c93e0f05cbd3129e9b20493db6d0.tar.gz
site-d6126294bf27c93e0f05cbd3129e9b20493db6d0.zip
Nix and updated templates
Diffstat (limited to 'nix/rust.nix')
-rw-r--r--nix/rust.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/rust.nix b/nix/rust.nix
new file mode 100644
index 0000000..1419ec7
--- /dev/null
+++ b/nix/rust.nix
@@ -0,0 +1,10 @@
+{ sources ? import ./sources.nix }:
+
+let
+ pkgs =
+ import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; };
+ channel = "nightly";
+ date = "2022-02-16";
+ targets = [ ];
+ chan = pkgs.rustChannelOfTargets channel date targets;
+in chan