Files
komorebi/nix/recorder/runtime.nix
T
LGUG2Z 1db6d7d3fd build(nix): the recorder is built, checked and shipped by the flake
nix/recorder holds the native packages and checks of macOS and Linux (the recorder and the
sources it indexes are the "recorder" platform of nix/workspace-src.nix), the Windows
build has it as one of its members, and the dev shell gets ffmpeg, resvg and GStreamer. The
flake inputs komorebi-mac and komorebi-windows are gone: the sources are in the tree.
2026-11-05 15:03:27 -08:00

32 lines
902 B
Nix

# What komorebi-recorder needs of the system on Linux: the packages and libraries, for its build, its
# wrapper and the dev shell.
{ pkgs }:
rec {
# what GStreamer needs: the libraries to link, and the plugins that decode (libav, for H.264 and
# HEVC) and encode (x264, in ugly) the recorded video
gstreamerPackages = with pkgs.gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
gst-libav
pkgs.pipewire
];
gstreamerPluginPath = pkgs.lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" gstreamerPackages;
# the libraries the program opens when it needs them: Wayland, for the compositor and the window,
# and what the window draws through
linuxRuntimeLibraries = [
pkgs.wayland
pkgs.libxkbcommon
pkgs.libGL
pkgs.vulkan-loader
pkgs.libx11
pkgs.libxcursor
pkgs.libxi
pkgs.libxrandr
];
}