Repository navigation
chore(nix): flake hash for v153.5.1-1; the repack no longer rewrites Mozilla's libraries - #14
Merged
Merged
Conversation
…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>
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.
Makes the NixOS flake install the first published release, v153.5.1-1.
nix/pkg/release-hash.jsonholds the SRI hash of the publishedpowerbrowser-153.5.1-1.linux-x86_64.tar.xz. It equals the release's SHA256SUMS entry, which is what theflake-hash-prbot job would write; that job isn't wired to a caller yet.LD_LIBRARY_PATH. The list was derived by running ldd over every ELF file outside any FHS environment: 0 unresolved.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);--quickpasses.🤖 Generated with Claude Code