Skip to content

attic-server: use system sqlite and zstd - #582403

Merged
Defelo merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/attic-server
Nov 2, 2026
Merged

Defelo merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/attic-server

Conversation

@whispersofthedawn

@whispersofthedawn whispersofthedawn commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, incl. sqlite and zstd. this fixes the build on current staging-next.

https://hydra.nixos.org/build/351600317

$ ldd /nix/store/8l0wl2n60kf53cah543niyvlzzxhkl6v-attic-0-unstable-2026-07-06/bin/atticd
        linux-vdso.so.1 (0x00007c0086aab000)
        libzstd.so.1 => /nix/store/2a69456iqj6rzzc2ys7l2yypsv1w6l5m-zstd-1.5.7/lib/libzstd.so.1 (0x00007c0084729000)
        libsqlite3.so => /nix/store/da0jhl7dj82flrp9wld11jp3pvs9raxa-sqlite-3.54.0/lib/libsqlite3.so (0x00007c0084573000)
        libgcc_s.so.1 => /nix/store/myhwfdgqm39yms5clinafii9i1nmq43h-gcc-16.2.0-lib/lib/libgcc_s.so.1 (0x00007c0084545000)
        libm.so.6 => /nix/store/r3hvhzl5fxhrgn0rfy5g7rda17702pj4-glibc-2.44-57/lib/libm.so.6 (0x00007c0084424000)
        libc.so.6 => /nix/store/r3hvhzl5fxhrgn0rfy5g7rda17702pj4-glibc-2.44-57/lib/libc.so.6 (0x00007c0084200000)
        /nix/store/r3hvhzl5fxhrgn0rfy5g7rda17702pj4-glibc-2.44-57/lib/ld-linux-x86-64.so.2 => /nix/store/r3hvhzl5fxhrgn0rfy5g7rda17702pj4-glibc-2.44-57/lib64/ld-linux-x86-64.so.2 (0x00007c0086aad000)
        libz.so.1 => /nix/store/kp68n1q6r8lzpf5mxjmfasn3zq2pql4x-zlib-1.3.2/lib/libz.so.1 (0x00007c00841e1000)

Things done

we now force rust packages/anything using the cargo setup hook to use
our system versions of some common libraries, incl. sqlite and zstd.
this fixes the build on current staging-next.

https://hydra.nixos.org/build/351600317
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Nov 2, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from Defelo, aciceri and zhaofengli November 2, 2026 20:49
@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 Nov 2, 2026
@Defelo
Defelo added this pull request to the merge queue Nov 2, 2026
@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 Nov 2, 2026
Merged via the queue into NixOS:staging-next with commit c45473e Nov 2, 2026
34 checks passed
@whispersofthedawn
whispersofthedawn deleted the p/attic-server branch November 4, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 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.

2 participants