From 9b2cb8b1cbd65b52ac5abaa5b693d347ee0106a3 Mon Sep 17 00:00:00 2001 From: Maxine Aubrey Date: Mon, 7 Nov 2022 00:14:01 +0100 Subject: [PATCH] bindle: fix build failure --- pkgs/servers/bindle/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/bindle/default.nix b/pkgs/servers/bindle/default.nix index f8e0db9e40c7..e698dc1a4b69 100644 --- a/pkgs/servers/bindle/default.nix +++ b/pkgs/servers/bindle/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub, pkgs, stdenv, Security }: +{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, pkg-config, openssl }: rustPlatform.buildRustPackage rec { pname = "bindle"; @@ -13,7 +13,8 @@ rustPlatform.buildRustPackage rec { doCheck = false; # Tests require a network - buildInputs = with pkgs; [ pkg-config openssl_3 ] ++ lib.optional stdenv.isDarwin Security; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; cargoSha256 = "sha256-brsemnw/9YEsA2FEIdYGmQMdlIoT1ZEMjvOpF44gcRE=";