From 79b24d943932994ca84e658f8d2d3891b158895a Mon Sep 17 00:00:00 2001 From: aaron Date: Sat, 20 Jun 2026 21:48:26 +0200 Subject: [PATCH] fix: add more shared objects for sirils plugins --- modules/nixos/astro.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/modules/nixos/astro.nix b/modules/nixos/astro.nix index a1ba344..81fa5f7 100644 --- a/modules/nixos/astro.nix +++ b/modules/nixos/astro.nix @@ -13,7 +13,30 @@ let nativeBuildInputs = [ pkgs.makeWrapper ]; postBuild = '' wrapProgram $out/bin/siril \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib pkgs.zlib ]} + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [ + stdenv.cc.cc.lib # libstdc++ / libgcc_s / libgomp (numpy etc.) + zlib + zstd # libzstd.so.1 (PyQt6) + libGL # libGL.so.1 (PyQt6) + # PyQt6 (VeraLux) — Qt bundles xcb support so it needs these even + # on Wayland; libxkbcommon is the keymap lib used by Wayland too. + glib + fontconfig + freetype + dbus + libxkbcommon + # Qt platform plugins: the wayland plugin (libqwayland.so) needs the + # wayland client libs; the xcb fallback needs libxcb-cursor.so.0. + wayland # libwayland-client/cursor/egl (wayland plugin) + libxcb-cursor # libxcb-cursor.so.0 (xcb plugin) + libx11 + libxcb + libxcb-util + libxcb-wm + libxcb-image + libxcb-keysyms + libxcb-render-util + ])} ''; }; in