Repository navigation
discord: disable module updates with OpenASAR - #520078
Merged
Merged
Conversation
When OpenASAR is enabled, Discord's module updater can try to fetch module versions as undefined and loop/fail during startup. Set SKIP_MODULE_UPDATE alongside SKIP_HOST_UPDATE for OpenASAR builds, and make the helper repair existing settings files Also quote the Darwin module staging path so app bundle names containing spaces produce valid module symlinks
nixpkgs-ci
Bot
requested review from
Artturin,
Infinidoge,
Scrumplex and
jopejoe1
May 14, 2026 11:37
jopejoe1
approved these changes
May 16, 2026
Member
|
would this not be able to be reverted with #519974 ? since that makes discord not fall back to the old updater api |
Member
Author
|
That PR is still a draft and I haven't decided on it yet. I'll have to revisit it once I have more time on my hands. If anyone wants to take this on, feel free; otherwise, I'll tackle it at my own pace |
gepbird
added a commit
to tchfoo/raspi-dotfiles
that referenced
this pull request
May 21, 2026
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/0678d8986be1661af6bb555f3489f2fdfc31f6ff' (2026-05-05)
→ 'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb' (2026-05-13)
• Updated input 'gep-dotfiles':
'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=0112b595a22a4a847f16e21354fec58fe303735f' (2026-05-10)
→ 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=6a2d3c7205442efc118cae8de88eeb7a5695f40f' (2026-05-20)
• Updated input 'gep-dotfiles/nix-index-database':
'github:nix-community/nix-index-database/01466c414c7357ae2ce32be4a272a7c69e94ab5f' (2026-05-10)
→ 'github:nix-community/nix-index-database/f680e0d3c1dbefe298c423691662e238496890f2' (2026-05-17)
• Updated input 'gep-dotfiles/nvim-gep':
'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=537f8992ee19ba500111ad5b3c5ae37623166767' (2026-05-10)
→ 'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=471ee77bd404a5e3ccce8bde57756da8672dc1cf' (2026-05-16)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly':
'github:nix-community/neovim-nightly-overlay/b9ee678fadf59b3c998e180d62f4cee0641d21d9' (2026-05-10)
→ 'github:nix-community/neovim-nightly-overlay/20bf5b156b84b3f2338a37a46d0bc69b00392cd5' (2026-05-16)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly/neovim-src':
'github:neovim/neovim/b44c2bdd16226f6caa5324d91f1ae9781ffdc12b' (2026-05-09)
→ 'github:neovim/neovim/d8c464a0fa8884e457d27c4f3ba2bc5ab364cc5b' (2026-05-15)
• Updated input 'gep-dotfiles/nvim-gep/nixvim':
'github:nix-community/nixvim/7986a276960b4dfaed9bb2c3c438b5ba71ae08f1' (2026-05-05)
→ 'github:nix-community/nixvim/f83231edf4916c284484bbfe04841cdfe36f3d5b' (2026-05-16)
• Updated input 'home-manager':
'github:nix-community/home-manager/2f419037039a152448c5f4ae9494154753d1b399' (2026-05-09)
→ 'github:nix-community/home-manager/bd868f769a69d3b6091a1da68a75cb83a181033c' (2026-05-19)
• Updated input 'moe':
'github:tchfoo/moe/168fe6b8f2cceca3c4012973b5dc1bd3965e13b9' (2026-04-28)
→ 'github:tchfoo/moe/170c6a3fbf9a4178a25945543a7ef6de5541a59d' (2026-05-12)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/3bcaa367d4c550d687a17ac792fd5cda214ee871' (2026-05-07)
→ 'github:NixOS/nixos-hardware/c97bc4d15bd3473dd095e8e8ba57330ab1943a77' (2026-05-20)
• Updated input 'nixos-raspberrypi':
'github:nvmd/nixos-raspberrypi/1dc4ca5f93587932383c0b61e1753f5eed1c3bba' (2026-04-10)
→ 'github:nvmd/nixos-raspberrypi/06c6e3513e1ee64b651913193fc6ac38aa4963f5' (2026-05-17)
• Updated input 'nixos-raspberrypi/nixpkgs':
'github:NixOS/nixpkgs/4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2' (2026-04-07)
→ 'github:NixOS/nixpkgs/d7a713c0b7e47c908258e71cba7a2d77cc8d71d5' (2026-05-14)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/549bd84d6279f9852cae6225e372cc67fb91a4c1' (2026-05-05)
→ 'github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb' (2026-05-15)
• Updated input 'nixpkgs-patcher':
'github:gepbird/nixpkgs-patcher/d8645cab832b307e06648fad2a03d96b696d2155' (2026-05-05)
→ 'github:gepbird/nixpkgs-patcher/1035997b647799694e4ac1cf217e7ee1c050bce0' (2026-05-18)
• Updated input 'nur':
'github:nix-community/NUR/61013f3c0ae1a35da83952f535949cfd876f8a51' (2026-05-10)
→ 'github:nix-community/NUR/e24179fb258454768fb3f7a6de3c6192a215fd3a' (2026-05-20)
• Updated input 'ymstnt-dotfiles':
'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=6b7dc640593ba3536d8951275d99713abe7f54df' (2026-05-09)
→ 'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=5840c3a04b6386ab410b38a0cae4ab87de9398ee' (2026-05-19)
• Updated input 'ymstnt-dotfiles/nixpkgs-patch-brawe-origin':
'NixOS/nixpkgs#511131'
→ 'NixOS/nixpkgs#511131'
• Added input 'ymstnt-dotfiles/nixpkgs-patch-openasar':
'NixOS/nixpkgs#520078'
Member
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.

Closes: #515106
When OpenASAR is enabled, Discord's module updater can try to fetch module versions as undefined and loop/fail during startup
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.