Rust : Thanks to 3Jl0y_PYCCKUi I now have a proper Rust shell config.

This commit is contained in:
Dmitry Voronin 2024-02-06 01:51:05 +03:00
parent 7f700eadfc
commit 49c49b8b15

View file

@ -1,12 +1,9 @@
with import <nixpkgs> {}; let
pkgs = import <nixpkgs> {};
mkShell { lib = pkgs.lib;
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ in
stdenv.cc.cc pkgs.mkShell {
]; nativeBuildInputs = with pkgs; [
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
buildInputs = [
cargo cargo
rustc rustc
rust-analyzer rust-analyzer