diff options
author | notgne2 | 2021-08-04 01:01:57 -0700 |
---|---|---|
committer | GitHub | 2021-08-04 01:01:57 -0700 |
commit | a0dd40684d292203b751f6e49c369503f83d1c2a (patch) | |
tree | b77a42aa5d1670c9e3e6ef77e42e547b3827179e | |
parent | 587cbcfe8d3ea05c5bb153764d3617012ef28c86 (diff) | |
parent | 63ccbd7cddcbd80d1c7e819dc42db15f7692ea71 (diff) |
Merge pull request #108 from serokell/notgne2/add-envrc
Add .envrc and fix devShell to work with more tools
-rw-r--r-- | .envrc | 5 | ||||
-rw-r--r-- | flake.nix | 12 |
2 files changed, 16 insertions, 1 deletions
@@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: 2021 Serokell <https://serokell.io/> +# +# SPDX-License-Identifier: MPL-2.0 + +use flake @@ -143,7 +143,17 @@ devShell = pkgs.mkShell { inputsFrom = [ self.packages.${system}.deploy-rs ]; - buildInputs = [ pkgs.nixUnstable pkgs.rust-analyzer pkgs.rustfmt ]; + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; + buildInputs = with pkgs; [ + nixUnstable + cargo + rustc + rust-analyzer + rustfmt + clippy + reuse + rust.packages.stable.rustPlatform.rustLibSrc + ]; }; checks = { |