From 96c627b3f60c79f5fd756db5c9978ec918a54a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 28 Oct 2018 21:56:30 +0000 Subject: [PATCH] defaultCrateOverrides: add serde_derive --- pkgs/build-support/rust/default-crate-overrides.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix index 516bf456667d..da3f0a59eb60 100644 --- a/pkgs/build-support/rust/default-crate-overrides.nix +++ b/pkgs/build-support/rust/default-crate-overrides.nix @@ -88,6 +88,10 @@ in propagatedBuildInputs = [ Security ]; }; + serde_derive = attrs: { + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; + }; + thrussh-libsodium = attrs: { buildInputs = [ pkgconfig libsodium ]; };