mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-11-22 05:04:13 +03:00
Add .envrc and fix devShell to work with more tools
This commit is contained in:
parent
587cbcfe8d
commit
63ccbd7cdd
5
.envrc
Normal file
5
.envrc
Normal file
@ -0,0 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2021 Serokell <https://serokell.io/>
|
||||
#
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use flake
|
12
flake.nix
12
flake.nix
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user