diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-03-13 10:45:01 +0000 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-03-14 05:01:53 +0100 |
| commit | ad9ca26606c5a5c12ddf51544983dffd665846d2 (patch) | |
| tree | d299f452eb49c033a52db649f100a55f3ae1ada5 /gnu/packages/rust-sources.scm | |
| parent | 54225ed9ea6780faf35dbb98b7d6503f7f36d5db (diff) | |
gnu: codex, codex-acp: Drop file_lock patches; enable network-proxy.
* gnu/packages/patches/rust-codex-0.98.0-arg0-file-lock.patch,
gnu/packages/patches/rust-codex-0.98.0-core-file-lock.patch,
gnu/packages/patches/rust-codex-0.98.0-execpolicy-file-lock.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister them.
* gnu/packages/rust-sources.scm (rust-codex-0.0.0.785c0c43)[source]<patches>:
Remove file-lock patches.
(rust-codex-0.98.0)[source]<patches>: Likewise.
[arguments]<#:cargo-package-crates>: Add
codex-network-proxy.
* gnu/packages/rust-apps.scm (codex)[source]<patches>: Remove file-lock
patches.
[arguments]<#:cargo-install-paths>: Add network-proxy.
<#:cargo-package-crates>: Add codex-network-proxy.
(codex-acp)[arguments]<#:rust>: Delete.
<#:cargo-test-flags>: Remove override.
* gnu/packages/patches/codex-0.98.0-remove-patch-sections.patch: Stop
excluding network-proxy from workspace members.
Change-Id: Iabc65a4ca2e8cc5801933a74a2b53b9bce404102
Diffstat (limited to 'gnu/packages/rust-sources.scm')
| -rw-r--r-- | gnu/packages/rust-sources.scm | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gnu/packages/rust-sources.scm b/gnu/packages/rust-sources.scm index c4e2c2685d2..93ddee042a4 100644 --- a/gnu/packages/rust-sources.scm +++ b/gnu/packages/rust-sources.scm | |||
| @@ -728,13 +728,7 @@ intelligence.") | |||
| 728 | (file-name (git-file-name name version)) | 728 | (file-name (git-file-name name version)) |
| 729 | (sha256 | 729 | (sha256 |
| 730 | (base32 "0rwj1ykknng39mhzna3fw3rcl3vngynsjdcj1namgkvw91zd9dl7")) | 730 | (base32 "0rwj1ykknng39mhzna3fw3rcl3vngynsjdcj1namgkvw91zd9dl7")) |
| 731 | ;; TODO: Remove patches when Rust provides stable file locking API. | 731 | (patches (search-patches "rust-codex-0.98.0-core-remove-self-dep.patch")))) |
| 732 | ;; The file_lock feature is tracked at | ||
| 733 | ;; <https://github.com/rust-lang/rust/issues/130994>. | ||
| 734 | (patches (search-patches "rust-codex-0.98.0-execpolicy-file-lock.patch" | ||
| 735 | "rust-codex-0.98.0-core-file-lock.patch" | ||
| 736 | "rust-codex-0.98.0-arg0-file-lock.patch" | ||
| 737 | "rust-codex-0.98.0-core-remove-self-dep.patch")))) | ||
| 738 | (build-system cargo-build-system) | 732 | (build-system cargo-build-system) |
| 739 | (arguments | 733 | (arguments |
| 740 | (list | 734 | (list |
| @@ -832,9 +826,6 @@ and runtime for AI-assisted coding.") | |||
| 832 | (file-name (git-file-name name version)) | 826 | (file-name (git-file-name name version)) |
| 833 | (sha256 | 827 | (sha256 |
| 834 | (base32 "1mn322gbir4gn4y5jihdqg0wprjlnx771chyfmmm7ri7pnim1zmc")) | 828 | (base32 "1mn322gbir4gn4y5jihdqg0wprjlnx771chyfmmm7ri7pnim1zmc")) |
| 835 | ;; TODO: Remove patches when Rust provides stable file locking API. | ||
| 836 | ;; The file_lock feature is tracked at | ||
| 837 | ;; <https://github.com/rust-lang/rust/issues/130994>. | ||
| 838 | (modules '((guix build utils))) | 829 | (modules '((guix build utils))) |
| 839 | (snippet '(begin | 830 | (snippet '(begin |
| 840 | ;;; These are JSON manifests with a dotslash | 831 | ;;; These are JSON manifests with a dotslash |
| @@ -845,10 +836,7 @@ and runtime for AI-assisted coding.") | |||
| 845 | ;; Bundled bubblewrap source tree; includes a | 836 | ;; Bundled bubblewrap source tree; includes a |
| 846 | ;; compiled BPF blob (demos/flatpak.bpf). | 837 | ;; compiled BPF blob (demos/flatpak.bpf). |
| 847 | (delete-file-recursively "codex-rs/vendor/bubblewrap"))) | 838 | (delete-file-recursively "codex-rs/vendor/bubblewrap"))) |
| 848 | (patches (search-patches "rust-codex-0.98.0-execpolicy-file-lock.patch" | 839 | (patches (search-patches "rust-codex-0.98.0-core-remove-self-dep.patch" |
| 849 | "rust-codex-0.98.0-core-file-lock.patch" | ||
| 850 | "rust-codex-0.98.0-arg0-file-lock.patch" | ||
| 851 | "rust-codex-0.98.0-core-remove-self-dep.patch" | ||
| 852 | "rust-codex-0.98.0-windows-sandbox-protocol-version.patch" | 840 | "rust-codex-0.98.0-windows-sandbox-protocol-version.patch" |
| 853 | "rust-codex-0.98.0-test-shebangs.patch")))) | 841 | "rust-codex-0.98.0-test-shebangs.patch")))) |
| 854 | (build-system cargo-build-system) | 842 | (build-system cargo-build-system) |
| @@ -888,7 +876,8 @@ and runtime for AI-assisted coding.") | |||
| 888 | "codex-login" ; Depends on codex-core | 876 | "codex-login" ; Depends on codex-core |
| 889 | "codex-ollama" ; Depends on codex-core | 877 | "codex-ollama" ; Depends on codex-core |
| 890 | "codex-common" ; Depends on codex-core, codex-lmstudio, codex-ollama | 878 | "codex-common" ; Depends on codex-core, codex-lmstudio, codex-ollama |
| 891 | "codex-mcp-server") ; Depends on codex-core, codex-common | 879 | "codex-mcp-server" ; Depends on codex-core, codex-common |
| 880 | "codex-network-proxy") ; Depends on codex-core, rama | ||
| 892 | #:phases | 881 | #:phases |
| 893 | #~(modify-phases %standard-phases | 882 | #~(modify-phases %standard-phases |
| 894 | (add-after 'unpack 'chdir-to-workspace | 883 | (add-after 'unpack 'chdir-to-workspace |
