Skip to content

zathura_core: set strictDeps, structuredAttrs, add versionCheckHook - #520766

Merged
symphorien merged 2 commits into
NixOS:masterfrom
ethancedwards8:zathura-modern
May 31, 2026
Merged

symphorien merged 2 commits into
NixOS:masterfrom
ethancedwards8:zathura-modern

Conversation

@ethancedwards8

Copy link
Copy Markdown
Member

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from MithicSpirit May 16, 2026 08:54
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels May 16, 2026

@MithicSpirit MithicSpirit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add meta.mainProgram to appease versionCheckHook? It works as-is, but prints out a warning.

Signed-off-by: Ethan Carter Edwards <[email protected]>
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 16, 2026
@ethancedwards8

Copy link
Copy Markdown
Member Author

related: #205690

@ethancedwards8

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 520766
Commit: 35d4d899932bf76482b54888fbaa201cfb093e31 (subsequent changes)
Merge: 133021a0915989e684ab88c9c8848daa5052cf06

Logs: https://github.com/ethancedwards8/nixpkgs-review-gha/actions/runs/26209271013

Download packages from cache:
  • x86_64-linux
    nix-store -r --add-root nixpkgs-pr-520766-x86_64-linux \
      --option binary-caches 'https://cache.nixos.org/ https://ethancedwards8.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      ethancedwards8.cachix.org-1:YMasjqyFnDreRQ9GXmnPIshT3tYyFHE2lUiNhbyIxOc=
      ' \
      /nix/store/vdaymcgyc30n75ws0v4fy7qlcwijwnga-manga-cli-unstable-2022-04-11 \
      /nix/store/6yvs5p2qm6p8x26jf0zxdcm3j3mcqg60-zathura-with-plugins-2026.02.09 \
      /nix/store/x2i0360b59cf0hng45xgn88r1h64qb9l-zathura-cb-2026.05.10 \
      /nix/store/n7j462f4msjp0g5w2jynnq81minipymn-zathura-2026.02.09 \
      /nix/store/gljavkxiwl2xlxry4dir7y4fzpv0m08w-zathura-2026.02.09-bin \
      /nix/store/lzp94hy9k4f5ngivhxhmgymr82pbw5y4-zathura-2026.02.09-dev \
      /nix/store/kr9qf2xr52929dvbvgamsiny5f71ga8d-zathura-2026.02.09-man \
      /nix/store/mgqwxmdmxfgzf3kpcxqd6izqvd5a4r2p-zathura-djvu-2026.05.10 \
      /nix/store/6c31jn368m5hzfzi7dmgf3jy11242anf-zathura-pdf-mupdf-2026.05.10 \
      /nix/store/16yas4qkjz40cqkbhhan37gkfd5sd89r-zathura-pdf-poppler-2026.05.10 \
      /nix/store/nsag3rbj95c5dmgqqlwcig5965gymgb4-zathura-ps-2026.02.03
  • aarch64-linux
    nix-store -r --add-root nixpkgs-pr-520766-aarch64-linux \
      --option binary-caches 'https://cache.nixos.org/ https://ethancedwards8.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      ethancedwards8.cachix.org-1:YMasjqyFnDreRQ9GXmnPIshT3tYyFHE2lUiNhbyIxOc=
      ' \
      /nix/store/1wdj2d703r6nlv0fyhfsvb33ay4bjq15-manga-cli-unstable-2022-04-11 \
      /nix/store/9sl97vax6m0np3r82wr1z70vcsy2bkb5-zathura-with-plugins-2026.02.09 \
      /nix/store/60q2bfafz42cchjxjw8xwxssj5ll4a2r-zathura-cb-2026.05.10 \
      /nix/store/8afa75ki2ha74yf0v6vjp9rnp7lfm1sb-zathura-2026.02.09 \
      /nix/store/bslainwrapxjs2cq6imn6zpd1p8mjhkj-zathura-2026.02.09-bin \
      /nix/store/mbdr0sgsmiqjdr6947945hh92gh5lr2d-zathura-2026.02.09-dev \
      /nix/store/2lmy44gj5iqbm6h2lj5wkv9064y3ac66-zathura-2026.02.09-man \
      /nix/store/zn4wsb006acjibx299hziwzq90ri7zxl-zathura-djvu-2026.05.10 \
      /nix/store/sp9hkr5n68s6qsi4iv54lmyv7x09zq7a-zathura-pdf-mupdf-2026.05.10 \
      /nix/store/8wyhgm018y5mjxgpfak41vdb2lf981ns-zathura-pdf-poppler-2026.05.10 \
      /nix/store/7hl6xvhmq6in7h8mb4gh4xwb7b8jazh9-zathura-ps-2026.02.03
  • x86_64-darwin
    nix-store -r --add-root nixpkgs-pr-520766-x86_64-darwin \
      --option binary-caches 'https://cache.nixos.org/ https://ethancedwards8.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      ethancedwards8.cachix.org-1:YMasjqyFnDreRQ9GXmnPIshT3tYyFHE2lUiNhbyIxOc=
      ' \
      /nix/store/fpnfykn8hib6q217qhjhyls2pzm2bbq0-zathura-2026.02.09 \
      /nix/store/ic5dcjv8pbr295rhc9fz22sapnr5c25z-zathura-2026.02.09-bin \
      /nix/store/i4visbc4r787ha53mblnmpkjcn64npzz-zathura-2026.02.09-dev \
      /nix/store/r4w60564y536xi0276qjhgxh9h1yvgkm-zathura-2026.02.09-man
  • aarch64-darwin
    nix-store -r --add-root nixpkgs-pr-520766-aarch64-darwin \
      --option binary-caches 'https://cache.nixos.org/ https://ethancedwards8.cachix.org' \
      --option trusted-public-keys '
      cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
      ethancedwards8.cachix.org-1:YMasjqyFnDreRQ9GXmnPIshT3tYyFHE2lUiNhbyIxOc=
      ' \
      /nix/store/sliv45mmfhfjs2imxi53iyfqni473zz3-zathura-2026.02.09 \
      /nix/store/l10s61qixgkwijlpaqihx483nhrvr44k-zathura-2026.02.09-bin \
      /nix/store/w839ia9p3svv5xi8vl23dsn3nri48npy-zathura-2026.02.09-dev \
      /nix/store/swmhdncd95m0sv62wabxz4hg7m29i261-zathura-2026.02.09-man

x86_64-linux

✅ 11 packages built:
  • manga-cli
  • zathura (zathuraPkgs.zathuraWrapper)
  • zathuraPkgs.zathura_cb
  • zathuraPkgs.zathura_core
  • zathuraPkgs.zathura_core.bin
  • zathuraPkgs.zathura_core.dev
  • zathuraPkgs.zathura_core.man
  • zathuraPkgs.zathura_djvu
  • zathuraPkgs.zathura_pdf_mupdf
  • zathuraPkgs.zathura_pdf_poppler
  • zathuraPkgs.zathura_ps

aarch64-linux

✅ 11 packages built:
  • manga-cli
  • zathura (zathuraPkgs.zathuraWrapper)
  • zathuraPkgs.zathura_cb
  • zathuraPkgs.zathura_core
  • zathuraPkgs.zathura_core.bin
  • zathuraPkgs.zathura_core.dev
  • zathuraPkgs.zathura_core.man
  • zathuraPkgs.zathura_djvu
  • zathuraPkgs.zathura_pdf_mupdf
  • zathuraPkgs.zathura_pdf_poppler
  • zathuraPkgs.zathura_ps

x86_64-darwin (sandbox = relaxed)

❌ 7 packages failed to build:
  • manga-cli
  • zathura (zathuraPkgs.zathuraWrapper)
  • zathuraPkgs.zathura_cb
  • zathuraPkgs.zathura_djvu
  • zathuraPkgs.zathura_pdf_mupdf
  • zathuraPkgs.zathura_pdf_poppler
  • zathuraPkgs.zathura_ps
✅ 4 packages built:
  • zathuraPkgs.zathura_core
  • zathuraPkgs.zathura_core.bin
  • zathuraPkgs.zathura_core.dev
  • zathuraPkgs.zathura_core.man

aarch64-darwin (sandbox = relaxed)

❌ 7 packages failed to build:
  • manga-cli
  • zathura (zathuraPkgs.zathuraWrapper)
  • zathuraPkgs.zathura_cb
  • zathuraPkgs.zathura_djvu
  • zathuraPkgs.zathura_pdf_mupdf
  • zathuraPkgs.zathura_pdf_poppler
  • zathuraPkgs.zathura_ps
✅ 4 packages built:
  • zathuraPkgs.zathura_core
  • zathuraPkgs.zathura_core.bin
  • zathuraPkgs.zathura_core.dev
  • zathuraPkgs.zathura_core.man

@symphorien
symphorien added this pull request to the merge queue May 31, 2026
Merged via the queue into NixOS:master with commit a99816c May 31, 2026
29 of 31 checks passed
@zspher

zspher commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

hi, I don't know why but this PR broke zathura's link numbering (index numbers in f).

Specifically the __structuredAttrs = true; which removes the webp-pixbuf-loader and gdk-pixbuf-loaders.cache dependency which seems to be required for link numbering.

@zspher zspher mentioned this pull request Jun 9, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants