about summary refs log blame commit diff stats
path: root/unmaintained_templates/nannou/shell.nix
blob: 6c4550a98e507977e7eea73c46f8e2ba87a9c788 (plain) (tree)























                                                          
#  A Creative Coding Framework for Rust.
{
  pkgs ? import <nixpkgs> {},
  extraPkgs ? [],
}:
pkgs.mkShell {
  buildInputs = with pkgs;
    [
      cargo
      rustc
      pkg-config
      alsa-lib
      cmake
      openssl
      xorg.libxcb
    ]
    ++ extraPkgs;
  LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
    xorg.libX11
    xorg.libXcursor
    xorg.libXrandr
    xorg.libXi
    vulkan-loader
  ]);
}