From 08eb5c464906a29e9f5135e1fb11e872b93746b1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 1 Apr 2024 12:54:37 +0200 Subject: refactor(templates/unmaintained): Move out of the templates dir Otherwise, the `update_common_files` script will try to instantiate files in there, which is just useless noise. --- unmaintained_templates/nannou/shell.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 unmaintained_templates/nannou/shell.nix (limited to 'unmaintained_templates/nannou/shell.nix') diff --git a/unmaintained_templates/nannou/shell.nix b/unmaintained_templates/nannou/shell.nix new file mode 100644 index 0000000..6c4550a --- /dev/null +++ b/unmaintained_templates/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