Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,24 @@ For NixOS, run `nix develop` from the root of your project to open a shell with
{
devShells = forAllSystems ({ pkgs }: with pkgs; {
default = mkShell rec {
buildInputs = [
nativeBuildInputs = [
pkg-config
rust-bin.stable.latest.default
];

pkg-config
xorg.libxcb
buildInputs = [
libx11
libxcb
alsa-lib
wayland
libxkbcommon
libGL
];
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";

LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;

# Remove this if you don't need LSP support
RUST_SRC_PATH = "${rust-bin.stable.latest.rust-src}/lib/rustlib/src/rust/library";
};
});
};
Expand Down