diff options
Diffstat (limited to '')
-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 = { |