Repository navigation
garage: use system-libs instead of bundled-libs - #571119
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
herbetom
left a comment
There was a problem hiding this comment.
Seems okay to me. I would however go one step further: herbetom@191c331 (only build and tested garage_1 thus far with that patch)
|
0h nice. feel free to PR into my branch, or open a new PR |
|
ethancedwards8#2 i opened a PR but i don't think github can do a fast forward without messing that up. So maybe just hard reset your branch to mine or feel free to squash them together and add me as co-author or something like that. |
e769360 to
f093685
Compare
This comment was marked as outdated.
This comment was marked as outdated.
herbetom
left a comment
There was a problem hiding this comment.
Other then the lmdb removal (as to not confuse others) it would be good to change the title of the PR.
In general this looks good as far as i can tell. Hoping this is the last thing i notice. Thanks :)
Co-authored-by: Tom Herbers <[email protected]> Signed-off-by: Ethan Carter Edwards <[email protected]>
herbetom
left a comment
There was a problem hiding this comment.
Looks good to me. I did however notice one thing ... openssl also is an input that isn't actually required or changes the output (garage uses rustls).
If you want you can drop that (as well as the OPENSSL_NO_VENDOR env) but i'm also willing to not burden you further and i'll put it on my TODO.
[nix-shell:~/git/NixOS/nixpkgs]$ nom-build -A nixosTests.garage_2 -A nixosTests.garage_1 -A garage_1 -A garage_2
Finished at 00:21:23 after 18s
/nix/store/qd4gjy0ng9k5j7p7a6avsq3cl0z4m4a0-vm-test-run-garage-2.4.1-basic
/nix/store/hggxr1v5j23kvwf779d5f5yjfvkd6h5z-vm-test-run-garage-2.4.1-3node-replication
/nix/store/xmy269mdns5myjipwz25x8wyhnxq4izg-vm-test-run-garage-1.3.1-basic
/nix/store/y8jia6ibnf5mk2f8nnap8d08h3xwzigs-vm-test-run-garage-1.3.1-3node-replication
/nix/store/s3amjy44n0q8048r1y48zlm0g0scaa8d-garage-1.3.1
/nix/store/3cxr3b8sg7790j82cwm4dxm48b3gjznw-garage-2.4.1
[nix-shell:~/git/NixOS/nixpkgs]$ ldd /nix/store/fc4v9d8j8rxf15v4j0r42izy3p2z36r5-garage-1.3.1/bin/garage | grep -E "(sodium|sqli|zstd)"
libzstd.so.1 => /nix/store/ph4ib8mxy5yrw40k7a1l03bfd58hq6wj-zstd-1.5.7/lib/libzstd.so.1 (0x000079407ed97000)
libsqlite3.so => /nix/store/9x0m6s73sg89fv5awb95vsac2mbns8n0-sqlite-3.53.3/lib/libsqlite3.so (0x000079407ebe6000)
libsodium.so.26 => /nix/store/jn3b4qd96ni82spqlsdvrxfw201p8d7a-libsodium-1.0.22-unstable-2026-08-13/lib/libsodium.so.26 (0x000079407eb4d000)
[nix-shell:~/git/NixOS/nixpkgs]$ ldd /nix/store/isp14hn8d5gcc4flxspdp49y313v7q36-garage-2.4.1/bin/garage | grep -E "(sodium|sqli|zstd)"
libzstd.so.1 => /nix/store/ph4ib8mxy5yrw40k7a1l03bfd58hq6wj-zstd-1.5.7/lib/libzstd.so.1 (0x000074b5b4195000)
libsqlite3.so => /nix/store/9x0m6s73sg89fv5awb95vsac2mbns8n0-sqlite-3.53.3/lib/libsqlite3.so (0x000074b5b3fe4000)
libsodium.so.26 => /nix/store/jn3b4qd96ni82spqlsdvrxfw201p8d7a-libsodium-1.0.22-unstable-2026-08-13/lib/libsodium.so.26 (0x000074b5b3f4b000)
It's an unnecessary input we do not need.
|
I've now added a commit that applies the openssl build input drop myself so that these changes can be merged in a bundled fashion. I hope that's okay. |
|
Successfully created backport PR for |
Related: #570943
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.