fix: GSettings-Schemas im Nix-Wrapper (XDG_DATA_DIRS) [appimage]
App crashte mit "No GSettings schemas are installed on the system" weil WebKitGTK die GLib-Schemas nicht finden konnte. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d4c57b777a
commit
b90db222e7
1 changed files with 4 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ let
|
|||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "claude-desktop";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
# Keine Quelldateien — Wir packen nur Wrapper + Desktop-Entry
|
||||
dontUnpack = true;
|
||||
|
||||
|
|
@ -137,7 +137,9 @@ pkgs.stdenv.mkDerivation {
|
|||
wrapProgram $out/bin/claude-desktop \
|
||||
--prefix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath runtimeLibs} \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath runtimeBins} \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${gstPluginPath}
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${gstPluginPath} \
|
||||
--prefix XDG_DATA_DIRS : ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name} \
|
||||
--prefix XDG_DATA_DIRS : ${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}
|
||||
|
||||
# 2) Installer: kopiert ein frisch gebautes Binary an den Ziel-Ort
|
||||
cat > $out/bin/claude-desktop-install <<'INSTALLER'
|
||||
|
|
|
|||
Loading…
Reference in a new issue