Skip to content

chore(nix): flake hash for v153.5.1-1; the repack no longer rewrites Mozilla's libraries - #14

Merged
ServerDestroyer merged 1 commit into
mainfrom
chore/channel-v153.5.1-1
Nov 27, 2026
Merged

ServerDestroyer merged 1 commit into
mainfrom
chore/channel-v153.5.1-1

Conversation

@ServerDestroyer

Copy link
Copy Markdown
Member

Makes the NixOS flake install the first published release, v153.5.1-1.

  • Hash record: nix/pkg/release-hash.json holds the SRI hash of the published powerbrowser-153.5.1-1.linux-x86_64.tar.xz. It equals the release's SHA256SUMS entry, which is what the flake-hash-pr bot job would write; that job isn't wired to a caller yet.
  • Startup crash fixed: the repacked package crashed at start (SIGSEGV in a library constructor during dlopen) because autoPatchelfHook, patchELF and strip rewrote Mozilla's libraries and corrupted their packed relocations. The derivation now sets only each executable's interpreter and puts the linked and dlopen libraries on the wrapper's LD_LIBRARY_PATH. The list was derived by running ldd over every ELF file outside any FHS environment: 0 unresolved.
  • Verified on legion: nix build .#powerbrowser, --version (Deocracy powerbrowser 153.5.1esr), and a headless start reaching SHELL_READY and BACKEND_READY. flake-repack quick, --release and --self-test pass (19 plants, 2 controls); --quick passes.

🤖 Generated with Claude Code

…zilla's libraries

The first published release's flake package crashed at start (SIGSEGV in a
library constructor during dlopen): autoPatchelfHook, patchELF and strip
rewrote the Mozilla libraries and corrupted their packed relocations. The
derivation now sets only each executable's interpreter and puts the linked
and dlopen libraries on the wrapper's LD_LIBRARY_PATH (list derived by ldd
over every ELF file outside any FHS environment: 0 unresolved). Verified:
nix build .#powerbrowser, --version, and a headless start reaching
SHELL_READY and BACKEND_READY. flake-repack rules and plants follow.

The hash record is the SRI of the published tarball, equal to the release's
SHA256SUMS entry (what the not-yet-wired flake-hash-pr bot would write).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ServerDestroyer
ServerDestroyer merged commit 40d167c into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant