fix(nix): refresh Codex desktop package#118
Merged
ilysenko merged 7 commits intoilysenko:mainfrom May 8, 2026
Merged
Conversation
Refresh the packaged desktop app to the current upstream DMG and update the fixed-output hashes and package versions accordingly. This also carries the ASAR patch drift needed for the newer bundle shape and removes the unused runtime share tree from the final package.
Make the Linux tray startup patch robust when the settings helper is not defined yet in the current upstream bundle. The tray remains enabled by default, while settings-aware builds still honor the helper when it exists.
Patch the bundled Browser Use node_repl executable with the NixOS dynamic linker and runtime library path. Without this, the in-app browser automation runtime can be present in the app bundle but fail to execute on NixOS.
Sync the bundled Browser Use marketplace metadata into CODEX_HOME so app-server plugin discovery can see the openai-bundled marketplace on Linux. The launcher now refreshes the metadata cache safely, including replacing read-only stale files from earlier package runs.
Patch the Electron VS Code bridge to provide a narrow fallback operation source for git-origins requests that arrive without source metadata. Other git operations still keep the upstream missing-source guard, so this only improves the observed git-origins local task startup failure.
93ea81e to
e8afdb5
Compare
Resolve ASAR patch test conflicts after main absorbed the current tray and Computer Use drift fixes, and update the tray smoke assertions to match the new settings-helper fallback.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
node_replexecutable for NixOSCODEX_HOMEso app-server plugin discovery can see the openai-bundled marketplacegit-originssource fallback for renderer requests that arrive without git operation source metadataWhy
The current upstream DMG invalidates the fetchurl hash and recursive fixed-output payload hash, and the newer bundle exposes several Linux/NixOS integration issues. These changes do not claim to solve every remaining Codex Desktop Linux behavior issue, but they make the package build against the latest app and fix concrete failures seen while starting and using the app on NixOS:
node_replbinary needs a NixOS dynamic linker/rpathgit-origins, so the bridge now supplies a fallback source only for that operation while preserving the guard for other git operationsValidation
node --check scripts/patch-linux-window-ui.jsnode --test scripts/patch-linux-window-ui.test.jsnix build .#codex-desktop --no-link --print-out-paths