2024-11-04 16:45:46 -05:00
|
|
|
{ pkgs ? (import <nixpkgs> {
|
|
|
|
config.allowUnfree = true;
|
|
|
|
config.segger-jlink.acceptLicense = true;
|
2024-11-21 11:39:44 -05:00
|
|
|
}), customPkgs ? (import /home/brett/my-nixpkgs {
|
|
|
|
config.allowUnfree = true;
|
|
|
|
config.segger-jlink.acceptLicense = true;
|
2024-11-04 16:45:46 -05:00
|
|
|
}), ... }:
|
|
|
|
pkgs.mkShell
|
|
|
|
{
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
cmake
|
|
|
|
gcc
|
|
|
|
clang
|
|
|
|
emscripten
|
|
|
|
ninja
|
2024-11-21 11:39:44 -05:00
|
|
|
customPkgs.jetbrains.clion
|
|
|
|
#clion = import ~/my-nixpkgs/pkgs/applications/editors/jetbrains {};
|
2024-11-04 16:45:46 -05:00
|
|
|
renderdoc
|
|
|
|
valgrind
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = with pkgs; [
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libX11.dev
|
|
|
|
xorg.libXcursor
|
|
|
|
xorg.libXcursor.dev
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXext.dev
|
|
|
|
xorg.libXinerama
|
|
|
|
xorg.libXinerama.dev
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXrandr.dev
|
|
|
|
xorg.libXrender
|
|
|
|
xorg.libXrender.dev
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libxcb.dev
|
|
|
|
xorg.libXi
|
|
|
|
xorg.libXi.dev
|
|
|
|
harfbuzz
|
|
|
|
harfbuzz.dev
|
|
|
|
zlib
|
|
|
|
zlib.dev
|
|
|
|
bzip2
|
|
|
|
bzip2.dev
|
|
|
|
pngpp
|
|
|
|
brotli
|
|
|
|
brotli.dev
|
|
|
|
pulseaudio.dev
|
|
|
|
git
|
|
|
|
libGL
|
|
|
|
libGL.dev
|
|
|
|
glfw
|
|
|
|
];
|
|
|
|
LD_LIBRARY_PATH="/run/opengl-driver/lib:/run/opengl-driver-32/lib";
|
|
|
|
}
|