Rust : Thanks to 3Jl0y_PYCCKUi I now have a proper Rust shell config.
This commit is contained in:
parent
7f700eadfc
commit
49c49b8b15
|
@ -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
|
||||||
|
|
Reference in a new issue