libetebase: use libsodium over vendored version

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-10-06 20:43:55 -04:00
parent ac1faec448
commit 60d6c10901

View File

@@ -2,6 +2,7 @@
rustPlatform,
fetchFromGitHub,
pkg-config,
libsodium,
openssl,
lib,
stdenv,
@@ -21,9 +22,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-ZLQFERi38+0SUxWaYAL4AepgVuAQKo9pxjcMkzA55BM=";
env.SODIUM_USE_PKG_CONFIG = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
buildInputs = [
libsodium
openssl
];
postInstall = ''
install -d $out/lib/pkgconfig