diff options
author | sefidel <contact@sefidel.net> | 2022-01-11 18:35:35 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-11 18:35:35 +0900 |
commit | 4b38b0cba0f22b1e82908b57d30db61e10cc9c5d (patch) | |
tree | 2a414ba0938bbbfa30e3ffbd05f7e7145c75134a /packages | |
parent | 2c6fe86cc5f17072bbf5437507ded970cfdd69b1 (diff) | |
download | nixrc-4b38b0cba0f22b1e82908b57d30db61e10cc9c5d.tar.gz nixrc-4b38b0cba0f22b1e82908b57d30db61e10cc9c5d.zip |
home/development: add rust nightly
Diffstat (limited to 'packages')
-rw-r--r-- | packages/default.nix | 5 |
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"]; }; } |