From 84730c9f5de7a14ff0a951541e4ec84233df393b Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Fri, 26 Nov 2021 21:56:05 -0800 Subject: [PATCH] janus-gateway: fix build --- pkgs/servers/janus-gateway/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/janus-gateway/default.nix b/pkgs/servers/janus-gateway/default.nix index 6c6d6759f329..0842b72f67f1 100644 --- a/pkgs/servers/janus-gateway/default.nix +++ b/pkgs/servers/janus-gateway/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; configureFlags = [ - "--enable-boringssl=${boringssl}" + "--enable-boringssl=${lib.getDev boringssl}" "--enable-libsrtp2" "--enable-turn-rest-api" "--enable-json-logger" @@ -42,6 +42,10 @@ stdenv.mkDerivation rec { "--enable-post-processing" ]; + makeFlagsArray = [ + "BORINGSSL_LIBS=-L${lib.getLib boringssl}/lib" + ]; + outputs = [ "out" "dev" "doc" "man" ]; postInstall = ''