diff options
Diffstat (limited to 'templates/unmaintained/nannou')
-rw-r--r-- | templates/unmaintained/nannou/shell.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/unmaintained/nannou/shell.nix b/templates/unmaintained/nannou/shell.nix new file mode 100644 index 0000000..6c4550a --- /dev/null +++ b/templates/unmaintained/nannou/shell.nix @@ -0,0 +1,25 @@ +# 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 + ]); +} |