feat: sync Nix config with dotfiles

This commit is contained in:
Harsh Shandilya 2022-05-29 09:57:43 +05:30
parent c2b64c2850
commit f052c3b017
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@ with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
buildInputs = [
(rust-bin.stable.latest.default.override {
extensions = [ "rust-src" "rustfmt-preview" ];
extensions =
[ "rust-src" "rustc-dev" "rustfmt-preview" "llvm-tools-preview" ];
targets =
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
++ pkgs.lib.optionals pkgs.stdenv.isLinux