From 508bf1b318c65def4bd8ced9e11189f2a0732706 Mon Sep 17 00:00:00 2001 From: "pe@pijul.org" Date: Wed, 24 Jan 2018 15:28:36 +0100 Subject: [PATCH] defaultCrateOverrides: add thrussh-libsodium --- pkgs/build-support/rust/default-crate-overrides.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 658548135aaf..a3d30d203182 100644 --- a/pkgs/build-support/rust/default-crate-overrides.nix +++ b/pkgs/build-support/rust/default-crate-overrides.nix @@ -1,5 +1,6 @@ { stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2, - openssl, sqlite, zlib, dbus_libs, dbus_glib, gdk_pixbuf, cairo, python3, ... }: + openssl, sqlite, zlib, dbus_libs, dbus_glib, gdk_pixbuf, cairo, python3, + libsodium, ... }: let inherit (darwin.apple_sdk.frameworks) CoreFoundation; @@ -36,6 +37,7 @@ in openssl-sys = attrs: { buildInputs = [ pkgconfig openssl ]; }; + dbus = attrs: { buildInputs = [ pkgconfig dbus_libs ]; }; @@ -60,4 +62,8 @@ in xcb = attrs: { buildInputs = [ python3 ]; }; + + thrussh-libsodium = attrs: { + buildInputs = [ pkgconfig libsodium ]; + }; }