Add nix shell

This commit is contained in:
fruchti 2024-06-04 19:52:30 +02:00
parent f9129b3957
commit 7a8d24c872

19
colorchord2/shell.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
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
];
})