From 8d9566679990370c7cffc84c0632424ff948dc51 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 12 Jul 2026 12:11:30 -0700 Subject: [PATCH] Refresh Codex desktop GSettings patch --- .../codex-desktop-linux-gsettings-schemas.patch | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/patches/codex-desktop-linux-gsettings-schemas.patch b/nixos/patches/codex-desktop-linux-gsettings-schemas.patch index f60e050a..bfb3a69b 100644 --- a/nixos/patches/codex-desktop-linux-gsettings-schemas.patch +++ b/nixos/patches/codex-desktop-linux-gsettings-schemas.patch @@ -15,11 +15,13 @@ index 6c225c2..fce1fac 100644 launcherPath = pkgs.lib.makeBinPath (with pkgs; [ bash coreutils -@@ -547,6 +553,7 @@ +@@ -656,8 +662,9 @@ + --replace-fail "/usr/share/applications/codex-desktop.desktop" "$out/share/applications/codex-desktop.desktop" + makeWrapper "$out/opt/codex-desktop/start.sh" "$out/bin/codex-desktop" \ - --prefix PATH : "${launcherPath}" \ - --prefix LD_LIBRARY_PATH : "${electronLibPath}" \ - --prefix LD_LIBRARY_PATH : "${runtimeLibPath}" \ + --prefix PATH : "${payloadLauncherPath}" \ + --prefix XDG_DATA_DIRS : "${gsettingsSchemaDataDirs}" \ --prefix PATH : "/run/current-system/sw/bin" \ --prefix PATH : "/etc/profiles/per-user/$(whoami)/bin" + + runHook postInstall