From 6df2ef639806567bf7ef9b3b50bef08b9cfb7e3a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Mar 2024 23:40:32 +0200 Subject: refactor({python,markdown}): Also move them to the templates diretory --- templates/unmaintained/nannou/shell.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/unmaintained/nannou/shell.nix (limited to 'templates/unmaintained/nannou') 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 {}, + 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 + ]); +} -- cgit 1.4.1