about summary refs log tree commit diff
path: root/pkgs/tools/networking/drill
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2022-03-23 20:59:21 -0400
committerYt <raphael@megzari.com>2022-03-23 22:01:21 -0400
commit6b1b445634e0b7d55d5a51eace3bb468c41e5bd4 (patch)
tree49b979b3090b6b1e1320c54ab6335a0229dbcb99 /pkgs/tools/networking/drill
parent9fb449b2d98f98f8fea361919179968e7681cd8d (diff)
drill: fix aarch64 darwin build
Diffstat (limited to 'pkgs/tools/networking/drill')
-rw-r--r--pkgs/tools/networking/drill/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/networking/drill/default.nix b/pkgs/tools/networking/drill/default.nix
index fce409dc2dc44..7e5d1ac1e00ef 100644
--- a/pkgs/tools/networking/drill/default.nix
+++ b/pkgs/tools/networking/drill/default.nix
@@ -24,6 +24,9 @@ rustPlatform.buildRustPackage rec {
     pkg-config
   ];
 
+  OPENSSL_LIB_DIR = "${openssl.out}/lib";
+  OPENSSL_DIR="${lib.getDev openssl}";
+
   buildInputs = lib.optionals stdenv.isLinux [
     openssl
   ] ++ lib.optionals stdenv.isDarwin [