diff options
Diffstat (limited to 'nix/rust.nix')
| -rw-r--r-- | nix/rust.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/rust.nix b/nix/rust.nix new file mode 100644 index 0000000..c6e8c2a --- /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 = "2021-02-20"; + targets = [ ]; + chan = pkgs.rustChannelOfTargets channel date targets; +in chan |