From d6126294bf27c93e0f05cbd3129e9b20493db6d0 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 28 Feb 2022 09:34:37 -0500 Subject: Nix and updated templates --- nix/rust.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nix/rust.nix (limited to 'nix/rust.nix') 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 -- cgit v1.2.3