File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 {
3030 devShells = forAllSystems ( { pkgs } : with pkgs ; {
3131 default = mkShell rec {
32- buildInputs = [
32+ nativeBuildInputs = [
33+ pkg-config
3334 rust-bin . stable . latest . default
35+ ] ;
3436
35- pkg-config
36- xorg . libxcb
37+ buildInputs = [
38+ libx11
39+ libxcb
3740 alsa-lib
3841 wayland
3942 libxkbcommon
4043 libGL
4144 ] ;
42- LD_LIBRARY_PATH = "${ lib . makeLibraryPath buildInputs } " ;
45+
46+ LD_LIBRARY_PATH = lib . makeLibraryPath buildInputs ;
47+
48+ # Remove this if you don't need LSP support
49+ RUST_SRC_PATH = "${ rust-bin . stable . latest . rust-src } /lib/rustlib/src/rust/library" ;
4350 } ;
4451 } ) ;
4552 } ;
Original file line number Diff line number Diff line change 2929 {
3030 devShells = forAllSystems ( { pkgs } : with pkgs ; {
3131 default = mkShell rec {
32- buildInputs = [
32+ nativeBuildInputs = [
33+ pkg-config
3334 rust-bin . stable . latest . default
35+ ] ;
3436
35- pkg-config
36- xorg . libxcb
37+ buildInputs = [
38+ libx11
39+ libxcb
3740 alsa-lib
3841 wayland
3942 libxkbcommon
4043 libGL
4144 ] ;
42- LD_LIBRARY_PATH = "${ lib . makeLibraryPath buildInputs } " ;
45+
46+ LD_LIBRARY_PATH = lib . makeLibraryPath buildInputs ;
47+
48+ # Remove this if you don't need LSP support
49+ RUST_SRC_PATH = "${ rust-bin . stable . latest . rust-src } /lib/rustlib/src/rust/library" ;
4350 } ;
4451 } ) ;
4552 } ;
You can’t perform that action at this time.
0 commit comments