Add nix shell
This commit is contained in:
parent
f9129b3957
commit
7a8d24c872
19
colorchord2/shell.nix
Normal file
19
colorchord2/shell.nix
Normal 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
|
||||||
|
];
|
||||||
|
})
|
Loading…
Reference in a new issue