xesite/nix/rust.nix

11 lines
259 B
Nix
Raw Normal View History

{ sources ? import ./sources.nix }:
let
pkgs =
import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; };
channel = "nightly";
date = "2021-12-17";
targets = [ ];
chan = pkgs.rustChannelOfTargets channel date targets;
in chan