Repository navigation
brave-origin: init at 1.91.157 - #511131
WitteShadovv wants to merge 2 commits into
Conversation
e17f4bd to
4b6816a
Compare
|
Builds and runs fine for me. Did some test browsing with it. It's tempting to try to merge the code for the two Brave packages to reduce update work, but probably better to look into that after Origin has had time to stabilize. |
|
Also works for me |
This comment was marked as outdated.
This comment was marked as outdated.
|
Hi @uskudnik, @rht, @JeffLabonte, @nasirhm, @buckley310, Brave Origin is a new, "separate" browser from Brave (https://support.brave.app/hc/en-us/articles/38561489788173-What-is-Brave-Origin). It is currently published through the
The derivation here closely mirrors |
This comment was marked as outdated.
This comment was marked as outdated.
4b6816a to
cfc3092
Compare
|
Thanks for the input @Bad3r! :) I think I have addressed all your comments. Just let me know if I missed something or you have additional feedback. |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Thanks for the input @Bad3r! :)
I think I have addressed all your comments. Just let me know if I missed something or you have additional feedback.
Great, thank you! LGTM, feel free to resolve the inline comments, I can't seem to be able to do it from my end.
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/fdb2ccba9d5e1238d32e0c4a3ec1a277efa80c1d' (2026-05-08)
→ 'github:nix-community/home-manager/26aaab785b0bab4af60a2c42b22760fa906ef22a' (2026-05-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/549bd84d6279f9852cae6225e372cc67fb91a4c1' (2026-05-05)
→ 'github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb' (2026-05-15)
• Updated input 'nixpkgs-master':
'github:NixOS/nixpkgs/3ac379d7981fbe8bd4d22c25f9df4b7e56f53f71' (2026-05-09)
→ 'github:NixOS/nixpkgs/95c46397877e2283fb2bc3377bafca7ae116ede2' (2026-05-17)
• Updated input 'nixpkgs-patch-brawe-origin':
'NixOS/nixpkgs#511131'
→ 'NixOS/nixpkgs#511131'
• Updated input 'nur':
'github:nix-community/NUR/7e1afccfc684b26840cea94ffd79ab6ff7de7dbc' (2026-05-09)
→ 'github:nix-community/NUR/24ecfcd6d8f04abf52c6762b47caed07b8834f7c' (2026-05-17)
a34abd2 to
2b8106a
Compare
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'
I'm trying to predict what it will look like when Brave-Origin stabilizes. I find it extremely likely that the two browser editions will update in lockstep with each-other, and will have very minimal differences packaging-wise. So I think, chances are that combining the packages (as in #513143) will probably pay off. I'll probably have to give that PR a good long look as well. I've been putting it off because I haven't figured out yet how I feel about including all the beta and nightly stuff permanently. |
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/26aaab785b0bab4af60a2c42b22760fa906ef22a' (2026-05-16)
→ 'github:nix-community/home-manager/509ed3c603349a9d43de9e2ae6613baea6bd5b34' (2026-05-23)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb' (2026-05-15)
→ 'github:NixOS/nixpkgs/f83fc3c307e74bc5fd5adb7eb6b8b13ffd2a36e1' (2026-05-21)
• Updated input 'nixpkgs-master':
'github:NixOS/nixpkgs/95c46397877e2283fb2bc3377bafca7ae116ede2' (2026-05-17)
→ 'github:NixOS/nixpkgs/2181dddce137cb6fc447e33f4ed0817efb707373' (2026-05-23)
• Updated input 'nixpkgs-patch-brawe-origin':
'NixOS/nixpkgs#511131'
→ 'NixOS/nixpkgs#511131'
• 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/24ecfcd6d8f04abf52c6762b47caed07b8834f7c' (2026-05-17)
→ 'github:nix-community/NUR/921e02b3516aec16f26e77ab30753b0538cf2da6' (2026-05-23)
Flake lock file updates:
• Updated input 'gep-dotfiles':
'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=6a2d3c7205442efc118cae8de88eeb7a5695f40f' (2026-05-20)
→ 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=7f449f7e970d87474b17a9256f6cb88e7a7d8f52' (2026-05-23)
• Updated input 'gep-dotfiles/nvim-gep':
'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=471ee77bd404a5e3ccce8bde57756da8672dc1cf' (2026-05-16)
→ 'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=994c2f48a62f29c09b7d2c896d3aef6255c73557' (2026-05-23)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly':
'github:nix-community/neovim-nightly-overlay/20bf5b156b84b3f2338a37a46d0bc69b00392cd5' (2026-05-16)
→ 'github:nix-community/neovim-nightly-overlay/3d655c93cd9bdd67a0a523c76882b340e0454a64' (2026-05-22)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly/neovim-src':
'github:neovim/neovim/d8c464a0fa8884e457d27c4f3ba2bc5ab364cc5b' (2026-05-15)
→ 'github:neovim/neovim/2b5d611d6b1767cc7cee124a18767513ac6b0259' (2026-05-21)
• Added input 'gep-dotfiles/nvim-gep/nfh':
'github:name-snrl/nfh/d5f830fdcd574cebb8bdea7e451da7a5f655e816' (2025-06-27)
• Added input 'gep-dotfiles/nvim-gep/nfh/nixpkgs':
follows 'gep-dotfiles/nvim-gep/nixpkgs'
• Updated input 'gep-dotfiles/nvim-gep/nixvim':
'github:nix-community/nixvim/f83231edf4916c284484bbfe04841cdfe36f3d5b' (2026-05-16)
→ 'github:nix-community/nixvim/4503b3c5e99c825ca6055a393f1bb3c95e68ba16' (2026-05-22)
• Updated input 'home-manager':
'github:nix-community/home-manager/bd868f769a69d3b6091a1da68a75cb83a181033c' (2026-05-19)
→ 'github:nix-community/home-manager/23703a32ef3d7803a2f1bb9909a3f46fc5185e37' (2026-05-24)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb' (2026-05-15)
→ 'github:NixOS/nixpkgs/29916453413845e54a65b8a1cf996842300cd299' (2026-05-23)
• Updated input 'nur':
'github:nix-community/NUR/e24179fb258454768fb3f7a6de3c6192a215fd3a' (2026-05-20)
→ 'github:nix-community/NUR/9101f4dc1ba20d76895eb529a56e24ac9dc55294' (2026-05-24)
• Updated input 'ymstnt-dotfiles':
'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=5840c3a04b6386ab410b38a0cae4ab87de9398ee' (2026-05-19)
→ 'git+https://git.tchfoo.com/ymstnt/dotfiles?ref=refs/heads/main&rev=68ced0addb53abfcf4d8e6276ce9eacdc4dd484e' (2026-05-23)
• Updated input 'ymstnt-dotfiles/nixpkgs-patch-brawe-origin':
'NixOS/nixpkgs#511131'
→ 'NixOS/nixpkgs#511131'
• Removed input 'ymstnt-dotfiles/nixpkgs-patch-openasar'
• Added input 'ymstnt-dotfiles/nixpkgs-patch-python-language-server-tests':
'NixOS/nixpkgs#522705'
• Added input 'ymstnt-dotfiles/nixpkgs-patch-python-lsp-server-test':
'NixOS/nixpkgs#522650'
|
|
|
As of June 4th, Brave Origin is No Longer Beta Since then, their release contents have changed a little
May I suggest this move toward packaging the non-beta release, and including targeting aarch64-linux system? Here was my open PR for that version before finding this thread @buckley310 I suspect this probably answers some of your questions around how they will go forward with releasing these side by side |
|
Yeah, since there are stable releases now, we can see that origin and standard editions both get released at the same time using the same process. That makes me like the idea of combining them into the same package, as in #513143 , as that reduces upkeep effort. |
|
Browsers are security-critical. Librewolf has recently been flagged as vulnerable just for not having a committer as maintainer. Might be wise to look for one here as well. Otherwise security updates might not get merged in reasonable time. |
|
any updates on this? |
|
This seems to be superseded by #513143 |
|
We now have a Brave-Origin package merged 🎉 |
|
I created a separate flake repo for the nightly + beta channels in case anyone is interested: https://codeberg.org/marcelmanz/brave-origin-channels |
NixOS/nixpkgs#540488 merged 166a63ea12788b94493842c4574e5d3fd4496c92 on 2026-07-25, an ancestor of the nixpkgs revision this flake pins (1f6cbe8047dc154462ceec5b0c37b99cbeacc1cf). It ships pkgs.brave-origin through a shared brave/brave-origin builder, superseding the closed NixOS/nixpkgs#511131 this repo's copy in packages/brave-origin/ was written against. Remove packages/brave-origin/ and modules/custom-overlays/brave-origin.nix. modules/browsers/brave-origin/apps.nix already selects the package with lib.mkPackageOption pkgs "brave-origin" { }, so it now resolves straight to the nixpkgs attribute with no config change; only its header comment drops the stale local-copy notes. docs/ONBOARDING.md still lists brave-origin as an update.py example; left alone since that page is already over the docs-style 150-line cap and out of scope here. Validation: nix run path:.#treefmt -- modules/browsers/brave-origin/apps.nix nix eval path:.#nixosConfigurations.songbird.pkgs.brave-origin.version -> 1.95.101 nix eval path:.#nixosConfigurations.tpnix.pkgs.brave-origin.version -> 1.95.101 nix build path:.#nixosConfigurations.songbird.pkgs.brave-origin (substituted from cache.nixos.org) nix eval --raw path:.#nixosConfigurations.songbird.config.system.build.toplevel.drvPath nix eval --raw path:.#nixosConfigurations.tpnix.config.system.build.toplevel.drvPath
Adds
brave-originunderpkgs/by-name/br/brave-origin, closely mirroring the existingbravepackage structure.This includes a local
update.sh, a generatedpackage.nix, and support for the upstream-confirmed release artifacts available for1.91.71.I copied most of the files from the already packaged
brave. If any of the maintainers of that (@uskudnik @rht @JeffLabonte @nasirhm @buckley310 ) have any improvements, want to be added as maintainers too, or have any other plans please tell me.Things done
nix-build lib/tests/maintainers.nix./result-brave-origin/bin/brave-origin --versionNotes
Supported platforms are limited to the upstream artifacts currently published for this release:
x86_64-linuxaarch64-darwinx86_64-darwinaarch64-linuxwas not added because no matching upstream install artifact was available.