aboutsummaryrefslogtreecommitdiff
path: root/nix/rust.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-18 11:47:07 -0700
committerFuwn <[email protected]>2021-05-18 11:47:07 -0700
commit7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0 (patch)
tree30834a2e2ae430fd36172487e840dfae9470ddc7 /nix/rust.nix
downloadrecords-7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0.tar.xz
records-7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0.zip
feat(records): :star:
Diffstat (limited to 'nix/rust.nix')
-rw-r--r--nix/rust.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/rust.nix b/nix/rust.nix
new file mode 100644
index 0000000..3d8b6fc
--- /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-05-18";
+ targets = [ ];
+ chan = pkgs.rustChannelOfTargets channel date targets;
+in chan