chatgpt: init at 26.803.81509 - #7864
Draft
whazor wants to merge 5 commits into
Draft
Conversation
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
Package the official ChatGPT/Codex desktop application for x86_64 and ARM64 Linux from OpenAI's Debian releases.
The package keeps the bundled Electron/Owl runtime because the application depends on OpenAI-specific Owl APIs that are unavailable in nixpkgs Electron.
Closes #7846.
Packaging details
LD_LIBRARY_PATHleaking into Electron subprocesses.app.asarpatch that preventsdetect-libcfrom callingprocess.report.getReport().The ASAR workaround prevents an intentional SIGILL/CFI trap in
node::GetNodeReportwhen@parcel/watcherinitializes the Git repository watcher. Existing ELF, filesystem, andlddlibc-detection fallbacks remain available.A custom updater tracks both architecture-specific Debian downloads using their ETags, extracts the package versions from Debian control metadata, and refreshes their fixed-output hashes.
Testing
Automated checks:
nix build --accept-flake-config path:.#chatgptchatgpt --versionreportsCodex 151.0.7922.76./packages/chatgpt/update.pynix fmtnix flake check --accept-flake-config --no-build path:.aarch64-linuxpackage build on Nixbot.Manual testing on x86_64 NixOS:
Follow-up