diff --git a/.config/linux/shell/Rust.nix b/.config/linux/shell/Rust.nix index 5db053e..20c2bd8 100644 --- a/.config/linux/shell/Rust.nix +++ b/.config/linux/shell/Rust.nix @@ -1,12 +1,9 @@ -with import {}; - -mkShell { - NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ - stdenv.cc.cc - ]; - NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker"; - - buildInputs = [ +let + pkgs = import {}; + lib = pkgs.lib; +in +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ cargo rustc rust-analyzer