My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/games/rstnode/shell.nix

32 lines
544 B

with import <nixpkgs> {};
mkShell rec {
name = "rstnode-shell";
buildInputs = with pkgs; [
rustc cargo clangStdenv rust-analyzer rustfmt
# ggez dependencies
pkg-config alsaLib libudev
# librsvg dependencies
glib cairo pango gdk-pixbuf libxml2
] ++ (with pkgs.xlibs; [
# General opengl dependencies
libGL
libGLU
libGL_driver
libX11
libXcursor
libXi
libXrandr
libXxf86vm
libxcb
libxkbcommon
]);
LD_LIBRARY_PATH = (lib.makeLibraryPath buildInputs);
}