about summary refs log tree commit diff
path: root/pkgs/servers/bindle
diff options
context:
space:
mode:
authorMaxine Aubrey <maxeaubrey@gmail.com>2022-11-07 00:14:01 +0100
committerMaxine Aubrey <maxeaubrey@gmail.com>2022-11-07 00:16:47 +0100
commit9b2cb8b1cbd65b52ac5abaa5b693d347ee0106a3 (patch)
treea096c05adfc91f5e69d407bf695e049522a2918c /pkgs/servers/bindle
parentf54c651ba521d14e2c2c225aae854946ee4f472f (diff)
bindle: fix build failure
Diffstat (limited to 'pkgs/servers/bindle')
-rw-r--r--pkgs/servers/bindle/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/bindle/default.nix b/pkgs/servers/bindle/default.nix
index f8e0db9e40c76..e698dc1a4b692 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=";