From 7a8d24c872388b12b5d26a847eaf195fb34eb8fb Mon Sep 17 00:00:00 2001 From: fruchti Date: Tue, 4 Jun 2024 19:52:30 +0200 Subject: [PATCH] Add nix shell --- colorchord2/shell.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 colorchord2/shell.nix diff --git a/colorchord2/shell.nix b/colorchord2/shell.nix new file mode 100644 index 0000000..2e345ef --- /dev/null +++ b/colorchord2/shell.nix @@ -0,0 +1,19 @@ +{ pkgs ? import {} }: +let + localAdjustments = if (builtins.pathExists ./.local.shell.nix) then import ./.local.shell.nix pkgs else (x: x); +in +pkgs.mkShell (localAdjustments { + nativeBuildInputs = with pkgs; [ + gnumake + gcc + glib + libpulseaudio + alsa-lib + xorg.libX11 + xorg.libXext + xorg.libXinerama + libusb1 + udev + pkg-config + ]; +})