diff options
| author | Fuwn <[email protected]> | 2021-04-26 15:42:39 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-04-26 15:42:39 +0000 |
| commit | 7bd062230b43f8bd9cf2ec0f0db92704c5765f26 (patch) | |
| tree | 78545fde636ec248aa039aa2ec1581b9b9055338 /nix/rust.nix | |
| parent | fmt: Change case (diff) | |
| download | api-7bd062230b43f8bd9cf2ec0f0db92704c5765f26.tar.xz api-7bd062230b43f8bd9cf2ec0f0db92704c5765f26.zip | |
major: :star:
Diffstat (limited to 'nix/rust.nix')
| -rw-r--r-- | nix/rust.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/rust.nix b/nix/rust.nix new file mode 100644 index 0000000..77c9190 --- /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-04-24"; + targets = [ ]; + chan = pkgs.rustChannelOfTargets channel date targets; +in chan |