flake.nix: use rust-analyzer from fenix
This commit is contained in:
parent
0ea0000ad0
commit
e97f4a0ce2
1 changed files with 6 additions and 5 deletions
11
flake.nix
11
flake.nix
|
|
@ -19,10 +19,11 @@
|
|||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
rustToolchain = fenix.packages."${system}".stable.defaultToolchain;
|
||||
rust-toolchain = fenix.packages."${system}".stable.defaultToolchain;
|
||||
rust-analyzer = fenix.packages."${system}".stable.rust-analyzer;
|
||||
naersk-lib = naersk.lib.${system}.override {
|
||||
cargo = rustToolchain;
|
||||
rustc = rustToolchain;
|
||||
cargo = rust-toolchain;
|
||||
rustc = rust-toolchain;
|
||||
};
|
||||
in
|
||||
rec {
|
||||
|
|
@ -38,8 +39,8 @@
|
|||
devShells.default = pkgs.mkShell {
|
||||
name = "azirevpn-env";
|
||||
buildInputs = [
|
||||
rustToolchain
|
||||
pkgs.rust-analyzer
|
||||
rust-analyzer
|
||||
rust-toolchain
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue