about summary refs log tree commit diff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/default.nix b/packages/default.nix
index 134e685..1702c35 100644
--- a/packages/default.nix
+++ b/packages/default.nix
@@ -1,10 +1,13 @@
-{ self, neovim, ... } @ inputs:
+{ self, neovim, rust-overlay, ... } @ inputs:
 let
   pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
   extra = inputs.nixpkgs-extra.packages.x86_64-linux;
+
+  rustPkgs = import inputs.nixpkgs { system = "x86_64-linux"; overlays = [ rust-overlay.overlay ]; };
 in
 {
   "neovim" = neovim.packages.x86_64-linux.neovim;
   "iosevka-pure-bin" = extra.iosevka-pure-bin;
   "phocus" = pkgs.callPackage ./phocus { src = inputs.phocus; };
+  "rust-nightly" = rustPkgs.rust-bin.nightly.latest.default.override { extensions = [ "rust-src"]; };
 }