mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
libetebase: use libsodium over vendored version
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user